hours
Returns a Duration equal to this Int number of hours.
Since Kotlin
1.6Returns a Duration equal to this Long number of hours.
Since Kotlin
1.6Returns a Duration equal to this Double number of hours.
Depending on its magnitude, the value is rounded to an integer number of nanoseconds or milliseconds.
Since Kotlin
1.6Throws
if this Double value is NaN
.