isMonthValid method

bool isMonthValid()

Implementation

bool isMonthValid() {
  return expirationMonth <= 12 && expirationMonth >= 1;
}