Skip to content

att.datable.iso

provides attributes for normalization of elements that contain datable events using the ISO 8601:2004 standard.

Module namesdates

Attributes

@when-isosupplies the value of a date or time in a standard form.
Status
Optional
Datatype
teidata.temporal.iso

The following are examples of ISO date, time, and date & time formats that are not valid W3C format normalizations.

<date when-iso="1996-09-24T07:25+00">Sept. 24th, 1996 at 3:25 in the morning</date>
<date when-iso="1996-09-24T03:25-04">Sept. 24th, 1996 at 3:25 in the morning</date>
<time when-iso="1999-01-04T20:42-05">4 Jan 1999 at 8:42 pm</time>
<time when-iso="1999-W01-1T20,70-05">4 Jan 1999 at 8:42 pm</time>
<date when-iso="2006-05-18T10:03">a few minutes after ten in the morning on Thu 18 May</date>
<time when-iso="03:00">3 A.M.</time>
<time when-iso="14">around two</time>
<time when-iso="15,5">half past three</time>

All of the examples of the @when attribute in the att.datable.w3c class are also valid with respect to this attribute.

@notBefore-isospecifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status
Optional
Datatype
teidata.temporal.iso
@notAfter-isospecifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status
Optional
Datatype
teidata.temporal.iso
@from-isoindicates the starting point of the period in standard form.
Status
Optional
Datatype
teidata.temporal.iso
@to-isoindicates the ending point of the period in standard form.
Status
Optional
Datatype
teidata.temporal.iso

Classes and content

Used by
Members

Note

The value of these attributes should be a normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by ISO 8601:2004, using the Gregorian calendar.

If both @when-iso and @dur-iso are specified, the values should be interpreted as indicating a span of time by its starting time (or date) and duration. That is,

<date when-iso="2007-06-01" dur-iso="P8D"/>
indicates the same time period as
<date when-iso="2007-06-01/P8D"/>

In providing a regularized form, no claim is made that the form in the source text is incorrect; the regularized form is simply that chosen as the main form for purposes of unifying variant forms under a single heading.