core-ktx / androidx.time / kotlin.Int / hours

hours

inline fun Int.hours(): Duration

Return a Duration representing this value in hours.

See Also

Duration.ofHours