Module org.apache.wicket.util
Class LocalDateConverter
java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<T>
org.apache.wicket.util.convert.converter.AbstractJavaTimeConverter<LocalDate>
org.apache.wicket.util.convert.converter.LocalDateConverter
- All Implemented Interfaces:
Serializable
,IConverter<LocalDate>
,IClusterable
Converts from Object to
LocalDate
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LocalDate
createTemporal
(TemporalAccessor temporalAccessor) Creates a new instance of D out of the passed date(time) as longprotected DateTimeFormatter
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractJavaTimeConverter
convertToObject, convertToString, getDateTimeFormatter
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
-
Constructor Details
-
LocalDateConverter
public LocalDateConverter()
-
-
Method Details
-
getTargetType
- Specified by:
getTargetType
in classAbstractConverter<LocalDate>
- Returns:
- The target type of this type converter
-
createTemporal
Description copied from class:AbstractJavaTimeConverter
Creates a new instance of D out of the passed date(time) as long- Specified by:
createTemporal
in classAbstractJavaTimeConverter<LocalDate>
- Parameters:
temporalAccessor
- the date(time) in millis since Epoch- Returns:
- a new instance of the specific type D
-
getDateTimeFormatter
- Specified by:
getDateTimeFormatter
in classAbstractJavaTimeConverter<LocalDate>
-