Class TimeObjectSerializer

java.lang.Object
eu.cloudnetservice.driver.impl.network.object.serializers.TimeObjectSerializer

public final class TimeObjectSerializer extends Object
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 Details

    • YEAR_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Year> YEAR_SERIALIZER
      Serializer for a year.
      See Also:
    • YEAR_MONTH_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<YearMonth> YEAR_MONTH_SERIALIZER
      Serializer for a year and month mapping.
      See Also:
    • MONTH_DAY_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<MonthDay> MONTH_DAY_SERIALIZER
      Serializer for a day in a month.
      See Also:
    • ZONE_ID_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<ZoneId> ZONE_ID_SERIALIZER
      A 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_SERIALIZER
      A serializer for a duration.
      See Also:
    • PERIOD_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Period> PERIOD_SERIALIZER
      A serializer for a period.
      See Also:
    • INSTANT_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<Instant> INSTANT_SERIALIZER
      A serializer for an instant.
      See Also:
    • LOCAL_DATE_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDate> LOCAL_DATE_SERIALIZER
      A serializer for a local date.
      See Also:
    • LOCAL_TIME_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalTime> LOCAL_TIME_SERIALIZER
      A serializer for a local time.
      See Also:
    • LOCAL_DATE_TIME_SERIALIZER

      public static final eu.cloudnetservice.driver.network.object.ObjectSerializer<LocalDateTime> LOCAL_DATE_TIME_SERIALIZER
      A 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_SERIALIZER
      A 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_SERIALIZER
      A 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_SERIALIZER
      A serializer for a time and date mapping with a zone offset.
      See Also:
  • Constructor Details

    • TimeObjectSerializer

      private TimeObjectSerializer()