validateDate method

bool validateDate()

Checks whether or not the {@link #expMonth} and {@link #expYear} fields represent a valid expiry date.

@return {@code true} if valid, {@code false} otherwise

Implementation

bool validateDate() {
  return validateExpiryDate(expMonth, expYear);
}