Package kotlinx.datetime.serializers

Types

Link copied to clipboard
object DateBasedDateTimeUnitSerializer : AbstractPolymorphicSerializer<DateTimeUnit.DateBased>

A polymorphic serializer for DateTimeUnit.DateBased unit that represents the unit as an Int number of months or days.

Link copied to clipboard
object DatePeriodComponentSerializer : KSerializer<DatePeriod>

A serializer for DatePeriod that uses a different field for each component, only listing non-zero components.

Link copied to clipboard
object DatePeriodIso8601Serializer : KSerializer<DatePeriod>

A serializer for DatePeriod that represents it as an ISO-8601 duration string.

Link copied to clipboard
object DateTimePeriodComponentSerializer : KSerializer<DateTimePeriod>

A serializer for DateTimePeriod that uses a different field for each component, only listing non-zero components.

Link copied to clipboard
object DateTimePeriodIso8601Serializer : KSerializer<DateTimePeriod>

A serializer for DateTimePeriod that represents it as an ISO-8601 duration string.

Link copied to clipboard
object DateTimeUnitSerializer : AbstractPolymorphicSerializer<DateTimeUnit>

A polymorphic serializer for DateTimeUnit that represents the unit as the Int number of months or days, or the Long number of nanoseconds.

Link copied to clipboard
object DayBasedDateTimeUnitSerializer : KSerializer<DateTimeUnit.DayBased>

A serializer for DateTimeUnit.DayBased unit that represents the unit as an Int number of days.

Link copied to clipboard
object DayOfWeekSerializer : KSerializer<DayOfWeek>

A serializer for DayOfWeek that represents the values as strings.

Link copied to clipboard
object FixedOffsetTimeZoneSerializer : KSerializer<FixedOffsetTimeZone>

A serializer for FixedOffsetTimeZone that represents the time zone as its identifier.

Link copied to clipboard
object InstantComponentSerializer : KSerializer<Instant>

A serializer for Instant that represents an Instant value as second and nanosecond components of the Unix time.

Link copied to clipboard
object InstantIso8601Serializer : KSerializer<Instant>

A serializer for Instant that uses the ISO-8601 representation.

Link copied to clipboard
object LocalDateComponentSerializer : KSerializer<LocalDate>

A serializer for LocalDate that represents a value as its components.

Link copied to clipboard
object LocalDateIso8601Serializer : KSerializer<LocalDate>

A serializer for LocalDate that uses the ISO-8601 representation.

Link copied to clipboard
object LocalDateTimeComponentSerializer : KSerializer<LocalDateTime>

A serializer for LocalDateTime that represents a value as its components.

Link copied to clipboard
object LocalDateTimeIso8601Serializer : KSerializer<LocalDateTime>

A serializer for LocalDateTime that uses the ISO-8601 representation.

Link copied to clipboard
object LocalTimeComponentSerializer : KSerializer<LocalTime>

A serializer for LocalTime that represents a value as its components.

Link copied to clipboard
object LocalTimeIso8601Serializer : KSerializer<LocalTime>

A serializer for LocalTime that uses the ISO-8601 representation.

Link copied to clipboard
object MonthBasedDateTimeUnitSerializer : KSerializer<DateTimeUnit.MonthBased>

A serializer for DateTimeUnit.MonthBased unit that represents the unit as an Int number of months.

Link copied to clipboard
object MonthSerializer : KSerializer<Month>

A serializer for Month that represents the month value as a string.

Link copied to clipboard
object TimeBasedDateTimeUnitSerializer : KSerializer<DateTimeUnit.TimeBased>

A serializer for DateTimeUnit.TimeBased unit that represents the unit as a Long number of nanoseconds.

Link copied to clipboard
object TimeZoneSerializer : KSerializer<TimeZone>

A serializer for TimeZone that represents the time zone as its identifier.

Link copied to clipboard
object UtcOffsetSerializer : KSerializer<UtcOffset>

A serializer for UtcOffset that uses the ISO-8601 representation.