compareTo

Common
JVM
JS
Native
1.3
@ExperimentalTime operator fun TimeMark.compareTo(
    other: TimeMark
): Int

(source)
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.