isAfterDay method

bool isAfterDay(
  1. DateTime time
)

Implementation

bool isAfterDay(DateTime time) {
  if (year < time.year) {
    return false;
  }
  if (year > time.year) {
    return true;
  }
  if (month < time.month) {
    return false;
  }
  if (month > time.month) {
    return true;
  }
  return day > time.day;
}