isDateTimeEqual method

bool isDateTimeEqual(
  1. CalendarDateTime dateTime
)

Implementation

bool isDateTimeEqual(CalendarDateTime dateTime) {
  return year == dateTime.year &&
      month == dateTime.month &&
      day == dateTime.day &&
      hour == dateTime.hour &&
      minute == dateTime.minute;
}