Creates a date range for the given start and end TimeOfDay.
TimeRange({ required this.start, required this.end, }) : assert(!start.isAfter(end));