toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.serialization
/
DurationInDoubleSecondsSerializer
Duration
In
Double
Seconds
Serializer
object
DurationInDoubleSecondsSerializer
:
KSerializer
<
Duration
>
(
source
)
Serializer that encodes and decodes
Duration
s as a
Double
number of seconds.
Members
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
SerialDescriptor
Functions
deserialize
Link copied to clipboard
open
override
fun
deserialize
(
decoder
:
Decoder
)
:
Duration
serialize
Link copied to clipboard
open
override
fun
serialize
(
encoder
:
Encoder
,
value
:
Duration
)