MrzDateInferenceMethod

How MrzDate chose the century of a date, or that it did not.

Since

0.1.0

Entries

Link copied to clipboard

Birth date. The century is the first of the 2000s and the 1900s that puts the date not after the reference time and at most 130 years before it.

Link copied to clipboard

Expiry date. The century is the first of the 2000s and the 1900s that puts the year from 10 years before to 50 years after the reference year.

Link copied to clipboard

No century fit, or the components are not a calendar date. Only the printed components are set.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.