Whether it comes before other in the day.
other
bool isBefore(DesignTimeOfDay other) => compareTo(other) < 0;