parseTD1
Parses an MRZ string as a TD1 (identity card) MRZ: 3 lines of 30 characters.
Splits input on \n, \r\n, or \r, drops leading empty lines, and trims trailing whitespace. Lowercase letters count as outside the MRZ alphabet.
Return
ParseResult.Success or ParseResult.PartialSuccess with the document, or ParseResult.Failure with MrzInvalidLength if the line count or a line length does not fit, or MrzCharacterSetViolation for the first character outside A-Z, 0-9, and <.
Parameters
the MRZ text.
the instant that picks the century of two-digit years and sets the date warnings. Defaults to the current time.
Parses pre-split lines as a TD1 (identity card) MRZ: 3 lines of 30 characters.
Uses input as given. Reports and returns the same as parseTD1 with a string.
Return
the parse result, as for parseTD1 with a string.
Parameters
the MRZ lines, one element per line.
the instant that picks the century of two-digit years and sets the date warnings. Defaults to the current time.