kotlin-stdlib / kotlin.time / Duration / compareTo compareTo Common JVM JS Native 1.0 fun compareTo(other: Duration): Int(source)