java.lang.Object
org.litebridgedb.convert.converter.ZonedDateTimeConverter
- All Implemented Interfaces:
Converter<ZonedDateTime>,ConverterFunction<ZonedDateTime>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ZonedDateTimeConverts the given value to the target type.Class<?> type()Returns the target Java class this converter handles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridgedb.convert.converter.Converter
primitiveType
-
Constructor Details
-
ZonedDateTimeConverter
public ZonedDateTimeConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterFunctionConverts the given value to the target type.- Specified by:
convertin interfaceConverterFunction<ZonedDateTime>- Parameters:
value- the value to convert, may benull- Returns:
- the converted value, or
nullif the input wasnullor could not be converted
-
type
Description copied from interface:ConverterReturns the target Java class this converter handles.- Specified by:
typein interfaceConverter<ZonedDateTime>- Returns:
- the target Java class
-