Companion

object Companion

Factories that parse printed date components.

Functions

Link copied to clipboard
fun parseBirth(rawYear: String, rawMonth: String, rawDay: String, referenceTime: Instant = Clock.System.now()): MrzDate

Parses a birth date and infers its century.

Link copied to clipboard
fun parseExpiry(rawYear: String, rawMonth: String, rawDay: String, referenceTime: Instant = Clock.System.now()): MrzDate

Parses an expiry date and infers its century.