Class TimeObjectSerializer
java.lang.Object
eu.cloudnetservice.driver.impl.network.object.serializers.TimeObjectSerializer
Collection of object serializers for all kinds of java.time classes. Calendar systems other than ISO-8601 are not
supported (such as the Japanese calendar).
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final eu.cloudnetservice.driver.network.object.ObjectSerializer<Duration> A serializer for a duration.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Instant> A serializer for an instant.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDate> A serializer for a local date.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDateTime> A serializer for a local date and a local time mapping.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalTime> A serializer for a local time.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<MonthDay> Serializer for a day in a month.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<OffsetDateTime> A serializer for a time and date mapping with a zone offset.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<OffsetTime> A serializer for a time with a zone offset.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Period> A serializer for a period.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<YearMonth> Serializer for a year and month mapping.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Year> Serializer for a year.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<ZoneId> A serializer for a standard zone region or any zone offset.static final eu.cloudnetservice.driver.network.object.ObjectSerializer<ZonedDateTime> A serializer for a date and time mapping in a specific time zone. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
YEAR_SERIALIZER
Serializer for a year.- See Also:
-
YEAR_MONTH_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<YearMonth> YEAR_MONTH_SERIALIZERSerializer for a year and month mapping.- See Also:
-
MONTH_DAY_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<MonthDay> MONTH_DAY_SERIALIZERSerializer for a day in a month.- See Also:
-
ZONE_ID_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<ZoneId> ZONE_ID_SERIALIZERA serializer for a standard zone region or any zone offset. Custom implementations are not supported.- See Also:
-
DURATION_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Duration> DURATION_SERIALIZERA serializer for a duration.- See Also:
-
PERIOD_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Period> PERIOD_SERIALIZERA serializer for a period.- See Also:
-
INSTANT_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Instant> INSTANT_SERIALIZERA serializer for an instant.- See Also:
-
LOCAL_DATE_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDate> LOCAL_DATE_SERIALIZERA serializer for a local date.- See Also:
-
LOCAL_TIME_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalTime> LOCAL_TIME_SERIALIZERA serializer for a local time.- See Also:
-
LOCAL_DATE_TIME_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDateTime> LOCAL_DATE_TIME_SERIALIZERA serializer for a local date and a local time mapping.- See Also:
-
ZONED_DATE_TIME_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<ZonedDateTime> ZONED_DATE_TIME_SERIALIZERA serializer for a date and time mapping in a specific time zone. Only the standard zone id implementations (zone offset and zone region) are supported.- See Also:
-
OFFSET_TIME_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<OffsetTime> OFFSET_TIME_SERIALIZERA serializer for a time with a zone offset.- See Also:
-
OFFSET_DATE_TIME_SERIALIZER
public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<OffsetDateTime> OFFSET_DATE_TIME_SERIALIZERA serializer for a time and date mapping with a zone offset.- See Also:
-
-
Constructor Details
-
TimeObjectSerializer
private TimeObjectSerializer()
-