astronomy

//astronomy/io.github.cosinekitty.astronomy/Time/compareTo

compareTo

open operator override fun compareTo(other: Time): Int

Compares the chronological order of two Time values.

Two instances of Time can be compared for chronological order using the usual operators like t1 < t2 or t1 == t2.