Companion
Functions
convert
Link copied to clipboard
fun convert(value: Double, sourceUnit: DurationUnit, targetUnit: DurationUnit): Double
Content copied to clipboard
Converts the given time duration value expressed in the specified sourceUnit into the specified targetUnit.
microseconds
Link copied to clipboard
Since Kotlin
1.5
milliseconds
Link copied to clipboard
Since Kotlin
1.5
minutes
Link copied to clipboard
nanoseconds
Link copied to clipboard
Since Kotlin
1.5
seconds
Link copied to clipboard