inHours

Deprecated

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