parseExpiry
fun parseExpiry(rawYear: String, rawMonth: String, rawDay: String, referenceTime: Instant = Clock.System.now()): MrzDate
Parses an expiry date and infers its century.
Return
A date with MrzDate.computedDate set from the first of the 2000s and the 1900s whose year is from 10 years before to 50 years after the reference year. If neither fits, only the printed components are set and the method is MrzDateInferenceMethod.RAW_ONLY; the validator then reports MrzExpiryDateCenturyNotInferred if the components form a real date.
Parameters
rawYear
The two year characters.
rawMonth
The two month characters.
rawDay
The two day characters.
referenceTime
The moment to judge against, compared as a UTC date. Default: the system clock.