Returns true if yesterday is in the date range.
bool contains(date date) => date.isBetweenOrEqual(startDate, endDate);