open operator fun compareTo(other: ComparableTimeMark): Int
Compares this time mark with the other time mark for order.
Note that the other time mark must be obtained from the same time source as this one.
IllegalArgumentException - if time marks were obtained from different time sources.
© 2010–2023 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/-comparable-time-mark/compare-to.html