compareTo

actual open operator override fun compareTo(other: LocalDateTime): Int(source)
expect open operator override fun compareTo(other: LocalDateTime): Int(source)

Compares this date/time value with the other date/time value. Returns zero if this value is equal to the other, a negative number if this value represents earlier civil time than the other, and a positive number if this value represents later civil time than the other.

actual open operator override fun compareTo(other: LocalDateTime): Int(source)
actual open operator override fun compareTo(other: LocalDateTime): Int(source)