isAfter method

bool isAfter(
  1. TimeOfDay other
)

Whether this TimeOfDay occurs later than 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 isAfter(TimeOfDay other) => compareTo(other) > 0;