Class LocalTimeConverter
- java.lang.Object
-
- org.apache.wicket.util.convert.converter.AbstractConverter<T>
-
- org.apache.wicket.util.convert.converter.AbstractJavaTimeConverter<LocalTime>
-
- org.apache.wicket.util.convert.converter.LocalTimeConverter
-
- All Implemented Interfaces:
Serializable
,IConverter<LocalTime>
,IClusterable
public class LocalTimeConverter extends AbstractJavaTimeConverter<LocalTime>
Converts from Object toLocalTime
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalTimeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LocalTime
createTemporal(TemporalAccessor temporalAccessor)
Creates a new instance of D out of the passed date(time) as longprotected DateTimeFormatter
getDateTimeFormatter()
protected Class<LocalTime>
getTargetType()
-
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 Detail
-
LocalTimeConverter
public LocalTimeConverter()
-
-
Method Detail
-
getTargetType
protected Class<LocalTime> getTargetType()
- Specified by:
getTargetType
in classAbstractConverter<LocalTime>
- Returns:
- The target type of this type converter
-
createTemporal
protected LocalTime createTemporal(TemporalAccessor temporalAccessor)
Description copied from class:AbstractJavaTimeConverter
Creates a new instance of D out of the passed date(time) as long- Specified by:
createTemporal
in classAbstractJavaTimeConverter<LocalTime>
- Parameters:
temporalAccessor
- the date(time) in millis since Epoch- Returns:
- a new instance of the specific type D
-
getDateTimeFormatter
protected DateTimeFormatter getDateTimeFormatter()
- Specified by:
getDateTimeFormatter
in classAbstractJavaTimeConverter<LocalTime>
-
-