MrzExpiryDatePast

data class MrzExpiryDatePast(val expiryDate: LocalDate, val referenceDate: LocalDate) : MrzWarning

Warning: the expiry date is earlier than referenceDate.

Reported by the validator when the computed expiry date is strictly earlier than the reference date. An expiry date equal to the reference date is not reported.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(expiryDate: LocalDate, referenceDate: LocalDate)

Properties

Link copied to clipboard
open override val description: String

English text for logs. It never contains dates; they are in expiryDate and referenceDate.

Link copied to clipboard
val expiryDate: LocalDate

The computed expiry date.

Link copied to clipboard
val referenceDate: LocalDate

The UTC date the expiry date was compared with.

Functions

Link copied to clipboard
open override fun toString(): String

MrzExpiryDatePast: followed by description, so logs carry no document values.