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