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