compareTo

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

Compares this instant with the other instant. Returns zero if this instant represents the same moment as the other (i.e. equal to other), a negative number if this instant is earlier than the other, and a positive number if this instant is later than the other.

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