toJavaDuration
Converts kotlin.time.Duration value to java.time.Duration value.
Durations greater than Long.MAX_VALUE seconds are cut to that value.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Converts kotlin.time.Duration value to java.time.Duration value.
Durations greater than Long.MAX_VALUE seconds are cut to that value.