Checks if two DateTime objects represent the same date (year, month, and day).
bool isEqualTo(DateTime date) => equals(date);