MrzExpiryDateImplausiblyFar

data class MrzExpiryDateImplausiblyFar(val expiryDate: LocalDate, val referenceDate: LocalDate, val thresholdYears: Int) : MrzWarning

Warning: the expiry date is more than thresholdYears after referenceDate.

Reported by the validator when the computed expiry date is later than the reference date plus 10 years.

Since

0.1.0

Constructors

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

Properties

Link copied to clipboard
open override val description: String

English text for logs: the limit. It never contains dates; they are in the properties.

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.

Link copied to clipboard

The limit that was exceeded, in years (10).

Functions

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

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