isDateEqual method

bool isDateEqual(
  1. CalendarDateTime dateTime
)

Implementation

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