Values topic

Values

The three types the model is made of: an amount, a calendar date, and an identifier with the scheme it belongs to.

They exist because the standard is precise about each. An amount is a decimal with a stated number of places, a date has no time and no zone, and an identifier without its scheme is ambiguous.

Classes

CalendarDate Values
A date on the calendar, with no time of day and no time zone.
Identifier Values
An identifier, and the scheme that says who issues it.

Functions

exact(num value) → Decimal Values
Reads value as an exact amount.