public class LocalTimeConverter extends AbstractJavaTimeConverter<LocalTime>
LocalTime
.Constructor and Description |
---|
LocalTimeConverter() |
Modifier and Type | Method and Description |
---|---|
protected LocalTime |
createTemporal(TemporalAccessor temporalAccessor)
Creates a new instance of D out of the passed date(time) as long
|
protected DateTimeFormatter |
getDateTimeFormatter() |
protected Class<LocalTime> |
getTargetType() |
convertToObject, convertToString, getDateTimeFormatter
newConversionException, parse
protected Class<LocalTime> getTargetType()
getTargetType
in class AbstractConverter<LocalTime>
protected LocalTime createTemporal(TemporalAccessor temporalAccessor)
AbstractJavaTimeConverter
createTemporal
in class AbstractJavaTimeConverter<LocalTime>
temporalAccessor
- the date(time) in millis since Epochprotected DateTimeFormatter getDateTimeFormatter()
getDateTimeFormatter
in class AbstractJavaTimeConverter<LocalTime>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.