isAfterToday static method

dynamic isAfterToday(
  1. int currentYear,
  2. int currentMonth,
  3. int currentDay
)

Implementation

static isAfterToday(int currentYear, int currentMonth, int currentDay) {
  CalendarDateTime now = TimelineCalendar.calendarProvider.getDateTime();
  DateTime currentDateTime = DateTime(currentYear, currentMonth, currentDay);
  return currentDateTime.difference(now.toDateTime()).inDays >= 1;
}