Mrz

constructor(documentNumber: String, documentNumberCheckDigit: Char, dateOfBirth: String, dateOfBirthCheckDigit: Char, dateOfExpiry: String, dateOfExpiryCheckDigit: Char)

Parameters

documentNumber

The complete document number as printed, at least one character: the nine-character field with its fillers, or a longer number joined from the optional data.

documentNumberCheckDigit

The check digit of the document number, as printed.

dateOfBirth

The date of birth as printed, six characters (YYMMDD).

dateOfBirthCheckDigit

The check digit printed after the date of birth.

dateOfExpiry

The date of expiry as printed, six characters (YYMMDD).

dateOfExpiryCheckDigit

The check digit printed after the date of expiry.