June 2002
Intermediate to advanced
396 pages
11h 8m
English
xs:gYear — Period of one year.
xs:anySimpleType
xs:gYear
none
xs:enumeration, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:whiteSpace
<xs:simpleType name="gYear" id="gYear">
<xs:restriction base="xs:anySimpleType">
<xs:whiteSpace value="collapse" fixed="true"/>
</xs:restriction>
</xs:simpleType>The value space of xs:gYear is the period of one
calendar year (such as the year 2002); its lexical space follows the
ISO 8601 syntax for such periods (i.e.,
“YYYY”) with an optional timezone.
The duration (one year) is fixed, and no calendars other than the Gregorian are supported.
Valid values include "2001",
"2001+02:00", "2001Z",
"2001+00:00", "-2001", or
"-20000".
The following values would be invalid: "01" (the
century part is missing) or "2001-12" (month parts
are forbidden).