EtsiInstantSerializer

class EtsiInstantSerializer : KSerializer<Instant> (source)

Serialized as ISO8601-String with the following restrictions: year with four digits, month, day, hour, minute, second (without decimal fraction) and the UTC designator "Z".

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Serialization descriptor for a UTC ISO 8601 timestamp without fractional seconds (TS 119 612, 5.1.3).

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Instant
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Instant)