val Int.hours: Duration
Extension method for easier construction of Durations in terms of integer hours: val twoHours = 2.hours.
val twoHours = 2.hours
See Also
Duration.ofHours