corda / net.corda.core.utilities / kotlin.Int / hours

hours

val Int.hours: Duration

Extension method for easier construction of Durations in terms of integer hours: val twoHours = 2.hours.

See Also

Duration.ofHours