Checks if a DateTime is within an Interval
bool isWithinInterval(Interval interval) => interval.includes(this);