Class JsonbZonedDateTimeConverter
- java.lang.Object
-
- org.apache.johnzon.jsonb.converter.JsonbLocaleParserConverterBase<T>
-
- org.apache.johnzon.jsonb.converter.JsonbDateConverterBase<ZonedDateTime>
-
- org.apache.johnzon.jsonb.converter.JsonbZonedDateTimeConverter
-
- All Implemented Interfaces:
Converter<ZonedDateTime>
,MapperConverter
public class JsonbZonedDateTimeConverter extends JsonbDateConverterBase<ZonedDateTime>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.johnzon.mapper.Converter
Converter.TypeAccess
-
-
Field Summary
Fields Modifier and Type Field Description private static ZoneId
UTC
-
Fields inherited from class org.apache.johnzon.jsonb.converter.JsonbDateConverterBase
formatter
-
-
Constructor Summary
Constructors Constructor Description JsonbZonedDateTimeConverter(jakarta.json.bind.annotation.JsonbDateFormat dateFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTime
fromString(String text)
String
toString(ZonedDateTime instance)
-
Methods inherited from class org.apache.johnzon.jsonb.converter.JsonbLocaleParserConverterBase
newLocale
-
-
-
-
Field Detail
-
UTC
private static final ZoneId UTC
-
-
Method Detail
-
toString
public String toString(ZonedDateTime instance)
-
fromString
public ZonedDateTime fromString(String text)
-
-