compareTo

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
@ExperimentalTime operator fun TimeMark.compareTo(
    other: TimeMark
): Int
Deprecated: Comparing one TimeMark to another is not a well defined operation because these time marks could have been obtained from the different time sources.

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.time/compare-to.html