hasDateExpired static method

bool hasDateExpired(
  1. int month,
  2. int year
)

Implementation

static bool hasDateExpired(int month, int year) {
  return !(month == null || year == null) && isNotExpired(year, month);
}