Checks if two DateTime instances fall on the same day.
bool isSameDay(DateTime b) => year == b.year && month == b.month && day == b.day;