public abstract class JavaTimeConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static OffsetDateTime |
MIN_DATE_TIME_UTC |
static LocalDate |
MIN_LOCAL_DATE |
static LocalDateTime |
MIN_LOCAL_DATE_TIME |
| Constructor and Description |
|---|
JavaTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
static OffsetDateTime |
deserializeDateTime(com.dslplatform.json.JsonReader reader) |
static ArrayList<OffsetDateTime> |
deserializeDateTimeCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeDateTimeCollection(com.dslplatform.json.JsonReader reader,
Collection<OffsetDateTime> res) |
static ArrayList<OffsetDateTime> |
deserializeDateTimeNullableCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeDateTimeNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<OffsetDateTime> res) |
static LocalDate |
deserializeLocalDate(com.dslplatform.json.JsonReader reader) |
static ArrayList<LocalDate> |
deserializeLocalDateCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeLocalDateCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDate> res) |
static ArrayList<LocalDate> |
deserializeLocalDateNullableCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeLocalDateNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDate> res) |
static LocalDateTime |
deserializeLocalDateTime(com.dslplatform.json.JsonReader reader) |
static ArrayList<LocalDateTime> |
deserializeLocalDateTimeCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeLocalDateTimeCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDateTime> res) |
static ArrayList<LocalDateTime> |
deserializeLocalDateTimeNullableCollection(com.dslplatform.json.JsonReader reader) |
static void |
deserializeLocalDateTimeNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDateTime> res) |
static void |
serialize(LocalDate value,
com.dslplatform.json.JsonWriter sw) |
static void |
serialize(LocalDateTime value,
com.dslplatform.json.JsonWriter sw) |
static void |
serialize(OffsetDateTime value,
com.dslplatform.json.JsonWriter sw) |
static void |
serializeNullable(LocalDate value,
com.dslplatform.json.JsonWriter sw) |
static void |
serializeNullable(LocalDateTime value,
com.dslplatform.json.JsonWriter sw) |
static void |
serializeNullable(OffsetDateTime value,
com.dslplatform.json.JsonWriter sw) |
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 void serializeNullable(OffsetDateTime value, com.dslplatform.json.JsonWriter sw)
public static void serializeNullable(LocalDateTime value, com.dslplatform.json.JsonWriter sw)
public static void serialize(OffsetDateTime value, com.dslplatform.json.JsonWriter sw)
public static void serialize(LocalDateTime value, com.dslplatform.json.JsonWriter sw)
public static OffsetDateTime deserializeDateTime(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static LocalDateTime deserializeLocalDateTime(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<OffsetDateTime> deserializeDateTimeCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeDateTimeCollection(com.dslplatform.json.JsonReader reader,
Collection<OffsetDateTime> res)
throws IOException
IOExceptionpublic static ArrayList<OffsetDateTime> deserializeDateTimeNullableCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeDateTimeNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<OffsetDateTime> res)
throws IOException
IOExceptionpublic static ArrayList<LocalDateTime> deserializeLocalDateTimeCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateTimeCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDateTime> res)
throws IOException
IOExceptionpublic static ArrayList<LocalDateTime> deserializeLocalDateTimeNullableCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateTimeNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDateTime> res)
throws IOException
IOExceptionpublic static void serializeNullable(LocalDate value, com.dslplatform.json.JsonWriter sw)
public static void serialize(LocalDate value, com.dslplatform.json.JsonWriter sw)
public static LocalDate deserializeLocalDate(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static ArrayList<LocalDate> deserializeLocalDateCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDate> res)
throws IOException
IOExceptionpublic static ArrayList<LocalDate> deserializeLocalDateNullableCollection(com.dslplatform.json.JsonReader reader) throws IOException
IOExceptionpublic static void deserializeLocalDateNullableCollection(com.dslplatform.json.JsonReader reader,
Collection<LocalDate> res)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.