ofSeconds

fun ofSeconds(value: Long): Duration

Returns a Duration representing the specified value number of seconds.