java.lang.Object
org.litebridge.convert.converter.LocalDateConverter
- All Implemented Interfaces:
Converter<LocalDate>,ConverterFunction<LocalDate>
A converter for
LocalDate objects.-
Field Summary
Fields inherited from interface org.litebridge.convert.converter.Converter
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridge.convert.converter.Converter
primitiveType, priority
-
Constructor Details
-
LocalDateConverter
public LocalDateConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterFunctionConverts the given value to the target type.- Specified by:
convertin interfaceConverterFunction<LocalDate>- 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.
-