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