DateTimeSerializer

expect class DateTimeSerializer

Serializer to read zoned date times as local date time and writing it back

actual class DateTimeSerializer(zoneId: ZoneId = ZoneId.systemDefault()) : KSerializer<DateTime>

Constructors

Link copied to clipboard
constructor(zoneId: ZoneId = ZoneId.systemDefault())

Properties

Link copied to clipboard
expect open val descriptor: <Error class: unknown class>
actual open override val descriptor: <Error class: unknown class>

Functions

Link copied to clipboard
expect open fun deserialize(decoder: <Error class: unknown class>): DateTime
Link copied to clipboard
expect open fun serialize(encoder: <Error class: unknown class>, value: DateTime)