Package net.jazdw.rql.converter
Class DefaultValueConverter.EpochTimestampConverter
java.lang.Object
net.jazdw.rql.converter.DefaultValueConverter.EpochTimestampConverter
- All Implemented Interfaces:
ValueConverter<Instant>
- Enclosing class:
DefaultValueConverter
public static class DefaultValueConverter.EpochTimestampConverter
extends Object
implements ValueConverter<Instant>
DefaultValueConverter for epoch millisecond timestamps
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
EpochTimestampConverter
public EpochTimestampConverter()
-
-
Method Details
-
convert
Description copied from interface:ValueConverterConverts a string value to its Java representation- Specified by:
convertin interfaceValueConverter<Instant>- Parameters:
textValue- milliseconds since 1970-01-01 00:00:00 UTC, e.g. 1431476669373- Returns:
- converted value
-