isBefore method

bool isBefore(
  1. DesignTimeOfDay other
)

Whether it comes before other in the day.

Implementation

bool isBefore(DesignTimeOfDay other) => compareTo(other) < 0;