isDateEqual method
Implementation
bool isDateEqual(CalendarDateTime dateTime) {
return year == dateTime.year &&
month == dateTime.month &&
day == dateTime.day;
}
bool isDateEqual(CalendarDateTime dateTime) {
return year == dateTime.year &&
month == dateTime.month &&
day == dateTime.day;
}