core-ktx / androidx.time / kotlin.Int / seconds

seconds

inline fun Int.seconds(): Duration

Return a Duration representing this value in seconds.

See Also

Duration.ofSeconds