Class JsonbOffsetDateTimeConverter
- java.lang.Object
-
- org.apache.johnzon.jsonb.converter.JsonbLocaleParserConverterBase<T>
-
- org.apache.johnzon.jsonb.converter.JsonbDateConverterBase<OffsetDateTime>
-
- org.apache.johnzon.jsonb.converter.JsonbOffsetDateTimeConverter
-
- All Implemented Interfaces:
Converter<OffsetDateTime>
,MapperConverter
public class JsonbOffsetDateTimeConverter extends JsonbDateConverterBase<OffsetDateTime>
-
-
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 JsonbOffsetDateTimeConverter(jakarta.json.bind.annotation.JsonbDateFormat dateFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
fromString(String text)
String
toString(OffsetDateTime 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(OffsetDateTime instance)
-
fromString
public OffsetDateTime fromString(String text)
-
-