Returns true if this is before other and false otherwise.
true
this
other
false
bool operator <(Time other) => compareTo(other) < 0;