toggle menu
jellyfin-sdk-kotlin
latest-SNAPSHOT
common
jvm
switch theme
search in API
jellyfin-model
/
org.jellyfin.sdk.model.serializer
/
DateTimeSerializer
Date
Time
Serializer
common
jvm
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
>
Members
Constructors
Date
Time
Serializer
Link copied to clipboard
jvm
constructor
(
zoneId
:
ZoneId
=
ZoneId.systemDefault()
)
Properties
descriptor
Link copied to clipboard
common
jvm
expect
open
val
descriptor
:
<Error class: unknown class>
actual
open
override
val
descriptor
:
<Error class: unknown class>
Functions
deserialize
Link copied to clipboard
expect
open
fun
deserialize
(
decoder
:
<Error class: unknown class>
)
:
DateTime
serialize
Link copied to clipboard
expect
open
fun
serialize
(
encoder
:
<Error class: unknown class>
,
value
:
DateTime
)