inMilliseconds

Deprecated

Use inWholeMilliseconds property instead or convert toDouble(MILLISECONDS) if a double value is required.

Replace with

toDouble(DurationUnit.MILLISECONDS)

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

Since Kotlin

1.6