Extensions for java.util.concurrent.TimeUnit
toDurationUnit
Converts this java.util.concurrent.TimeUnit enum value to the corresponding kotlin.time.DurationUnit value.
fun TimeUnit.toDurationUnit(): DurationUnit
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Converts this java.util.concurrent.TimeUnit enum value to the corresponding kotlin.time.DurationUnit value.
fun TimeUnit.toDurationUnit(): DurationUnit