public abstract class JavaTimeConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static JsonReader.ReadObject<OffsetDateTime> |
DATE_TIME_READER |
static JsonWriter.WriteObject<OffsetDateTime> |
DATE_TIME_WRITER |
static JsonReader.ReadObject<LocalDate> |
LOCAL_DATE_READER |
static JsonReader.ReadObject<LocalDateTime> |
LOCAL_DATE_TIME_READER |
static JsonWriter.WriteObject<LocalDateTime> |
LOCAL_DATE_TIME_WRITER |
static JsonWriter.WriteObject<LocalDate> |
LOCAL_DATE_WRITER |
static JsonReader.ReadObject<LocalTime> |
LOCAL_TIME_READER |
static JsonWriter.WriteObject<LocalTime> |
LOCAL_TIME_WRITER |
static OffsetDateTime |
MIN_DATE_TIME_UTC |
static LocalDate |
MIN_LOCAL_DATE |
static LocalDateTime |
MIN_LOCAL_DATE_TIME |
static LocalTime |
MIN_LOCAL_TIME |
static OffsetTime |
MIN_TIME_UTC |
static JsonReader.ReadObject<OffsetTime> |
OFFSET_TIME_READER |
static JsonWriter.WriteObject<OffsetTime> |
OFFSET_TIME_WRITER |
static JsonReader.ReadObject<ZonedDateTime> |
ZONED_DATE_TIME_READER |
static JsonWriter.WriteObject<ZonedDateTime> |
ZONED_DATE_TIME_WRITER |
| Constructor and Description |
|---|
JavaTimeConverter() |
public static final LocalDateTime MIN_LOCAL_DATE_TIME
public static final OffsetDateTime MIN_DATE_TIME_UTC
public static final LocalDate MIN_LOCAL_DATE
public static final LocalTime MIN_LOCAL_TIME
public static final OffsetTime MIN_TIME_UTC
public static final JsonReader.ReadObject<LocalDate> LOCAL_DATE_READER
public static final JsonWriter.WriteObject<LocalDate> LOCAL_DATE_WRITER
public static final JsonReader.ReadObject<LocalTime> LOCAL_TIME_READER
public static final JsonWriter.WriteObject<LocalTime> LOCAL_TIME_WRITER
public static final JsonReader.ReadObject<OffsetTime> OFFSET_TIME_READER
public static final JsonWriter.WriteObject<OffsetTime> OFFSET_TIME_WRITER
public static final JsonReader.ReadObject<OffsetDateTime> DATE_TIME_READER
public static final JsonWriter.WriteObject<OffsetDateTime> DATE_TIME_WRITER
public static final JsonReader.ReadObject<LocalDateTime> LOCAL_DATE_TIME_READER
public static final JsonWriter.WriteObject<LocalDateTime> LOCAL_DATE_TIME_WRITER
public static final JsonReader.ReadObject<ZonedDateTime> ZONED_DATE_TIME_READER
public static final JsonWriter.WriteObject<ZonedDateTime> ZONED_DATE_TIME_WRITER
public static void serializeNullable(@Nullable OffsetDateTime value, JsonWriter sw)
public static void serializeNullable(@Nullable LocalTime value, JsonWriter sw)
public static void serializeNullable(@Nullable OffsetTime value, JsonWriter sw)
public static void serializeNullable(@Nullable LocalDateTime value, JsonWriter sw)
public static void serialize(OffsetDateTime value, JsonWriter sw)
public static void serialize(LocalTime value, JsonWriter sw)
public static void serialize(OffsetTime value, JsonWriter sw)
public static void serialize(LocalDateTime value, JsonWriter sw)
public static OffsetDateTime deserializeDateTime(JsonReader reader) throws IOException
IOExceptionpublic static LocalDateTime deserializeLocalDateTime(JsonReader reader) throws IOException
IOExceptionpublic static LocalTime deserializeLocalTime(JsonReader reader) throws IOException
IOExceptionpublic static OffsetTime deserializeOffsetTime(JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<OffsetDateTime> deserializeDateTimeCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeDateTimeCollection(JsonReader reader, Collection<OffsetDateTime> res) throws IOException
IOExceptionpublic static ArrayList<OffsetDateTime> deserializeDateTimeNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeDateTimeNullableCollection(JsonReader reader, Collection<OffsetDateTime> res) throws IOException
IOExceptionpublic static ArrayList<LocalDateTime> deserializeLocalDateTimeCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateTimeCollection(JsonReader reader, Collection<LocalDateTime> res) throws IOException
IOExceptionpublic static ArrayList<LocalDateTime> deserializeLocalDateTimeNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateTimeNullableCollection(JsonReader reader, Collection<LocalDateTime> res) throws IOException
IOExceptionpublic static ArrayList<LocalTime> deserializeLocalTimeCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalTimeCollection(JsonReader reader, Collection<LocalTime> res) throws IOException
IOExceptionpublic static ArrayList<LocalTime> deserializeLocalTimeNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalTimeNullableCollection(JsonReader reader, Collection<LocalTime> res) throws IOException
IOExceptionpublic static void serializeNullable(@Nullable LocalDate value, JsonWriter sw)
public static void serialize(LocalDate value, JsonWriter sw)
public static LocalDate deserializeLocalDate(JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<LocalDate> deserializeLocalDateCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateCollection(JsonReader reader, Collection<LocalDate> res) throws IOException
IOExceptionpublic static ArrayList<LocalDate> deserializeLocalDateNullableCollection(JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateNullableCollection(JsonReader reader, Collection<LocalDate> res) throws IOException
IOExceptionCopyright © 2023. All rights reserved.