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

hours

inline fun Long.hours(): Duration

Return a Duration representing this value in hours.

See Also

Duration.ofHours