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

seconds

val Int.seconds: Duration

Extension method for easier construction of Durations in terms of integer seconds: val twoSeconds = 2.seconds.

See Also

Duration.ofSeconds