ChipDate

data class ChipDate(val year: Int?, val month: Int?, val day: Int?)

A date as a chip file holds it: year, month and day as numbers, each null when the chip marks it unknown (0000 for the year, 00 for month or day; Doc 9303 Part 10, section 4.7.11).

The SDK does not check the date against the calendar. toString() shows no document values; they are in the properties.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(year: Int?, month: Int?, day: Int?)

Properties

Link copied to clipboard
val day: Int?

The day number as written, or null when unknown.

Link copied to clipboard
val month: Int?

The month number as written, or null when unknown.

Link copied to clipboard
val year: Int?

The four-digit year, or null when unknown.

Functions

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

Which parts the chip wrote down; never a date value.