Package | Description |
---|---|
agi.foundation.infrastructure |
Contains types which support various aspects of the DME Component Libraries infrastructure.
|
agi.foundation.time |
Contains types for quantifying and converting between various date, time, and time standard representations.
|
Modifier and Type | Method and Description |
---|---|
FormatConversionCallback<T,TFormatType> |
FormatConverter.getConversionCallback(TFormatType from,
TFormatType to)
Gets the callback that converts from one format to another.
|
static <T,TFormatType> |
FormatConversionCallback.of(FormatConversionCallback.Function<T,TFormatType> f)
Create a delegate for the given interface.
|
static <T,TFormatType> |
FormatConversionCallback.of(FormatConversionCallback.Function<T,TFormatType> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <T,TFormatType> |
FormatConversionCallback.of(FormatConversionCallback.Function<T,TFormatType> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
FormatConverter.registerConversion(TFormatType from,
TFormatType to,
FormatConversionCallback<T,TFormatType> conversion)
Registers a conversion between formats.
|
void |
FormatConverter.registerConversion(TFormatType from,
TFormatType to,
FormatConversionCallback<T,TFormatType> conversion,
TryFormatConversionCallback<T,TFormatType> tryConversion)
Registers a conversion between formats.
|
Modifier and Type | Method and Description |
---|---|
static void |
TimeStandardConverter.registerConversion(TimeStandard from,
TimeStandard to,
FormatConversionCallback<JulianDate,TimeStandard> conversion)
Registers a new conversion between time standards.
|