isAtSameTimeAs method
- TimeOfDay other
Whether this TimeOfDay occurs at the same time as other
.
Does not account for day or sub-minute differences. This means that "00:00" of the next day is still before "23:00" of this day.
Implementation
bool isAtSameTimeAs(TimeOfDay other) => compareTo(other) == 0;