CardExpiryDate

constructor(month: Int, year: Int)

Initializes the card expiry date with the given month and year.

Parameters

month

Card expiry month, 1, 12, e.g. 1 for January or 12 for December

year

Card expiry year, 2 or 4 digits, e.g. 30 or 2030