isToday method

bool isToday()

Implementation

bool isToday() {
  DateTime today = DateTime.now();
  DateKey todayKey = DateKey(today.year, today.month, today.day);
  return this == todayKey;
}