inSeconds

Deprecated

Warning since 1.5

Error since 1.8

Hidden since 1.9

Use inWholeSeconds property instead or convert toDouble(SECONDS) if a double value is required.

Replace with

toDouble(DurationUnit.SECONDS)

The value of this duration expressed as a Double number of seconds.

Since Kotlin

1.6