Checks if a given date is within the range
date The date to check Returns true if the date is within the range, false otherwise
date
bool inRange(DateTime date) => date.isAfter(start) && date.isBefore(end);