bool isBefore(TimeOfDay other) => hour < other.hour || (hour == other.hour && minute < other.minute);