inHours

Deprecated

Warning since 1.5

Error since 1.8

Use inWholeHours property instead or convert toDouble(HOURS) if a double value is required.

Replace with

toDouble(DurationUnit.HOURS)

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

Since Kotlin

1.6