seconds

fun seconds(value: Int): Duration
fun seconds(value: Long): Duration
fun seconds(value: Double): Duration

Creates a Duration instance from the given value in seconds.