Compare only year, month and number day
bool isSameDate(DateTime date) => (date.year == year && date.month == month && date.day == day);