Package net.jazdw.rql.converter
Class DefaultValueConverter.ZonedDateTimeConverter
java.lang.Object
net.jazdw.rql.converter.DefaultValueConverter.ZonedDateTimeConverter
- All Implemented Interfaces:
ValueConverter<ZonedDateTime>
- Enclosing class:
DefaultValueConverter
public static class DefaultValueConverter.ZonedDateTimeConverter
extends Object
implements ValueConverter<ZonedDateTime>
DefaultValueConverter for ISO 8601 formatted date-time with a zone/offset.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts a string value to its Java representationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.jazdw.rql.converter.ValueConverter
convert
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ZonedDateTimeConverter
public ZonedDateTimeConverter()
-
-
Method Details
-
convert
Description copied from interface:ValueConverterConverts a string value to its Java representation- Specified by:
convertin interfaceValueConverter<ZonedDateTime>- Parameters:
textValue- e.g.2011-12-03T10:15:30+01:00[Europe/Paris]or2015-01-01T15:13:54+10:30- Returns:
- converted value
-