by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


Name

xsd:gDay — Recurring period of time: monthly day

Synopsis

<xsd:simpleType name="gDay" id="gDay">
 <xsd:restriction base="xsd:anySimpleType">
 <xsd:whiteSpace value="collapse" fixed="true"/>
 </xsd:restriction>
</xsd:simpleType>

Derived from

xsd:anySimpleType

Primary

xsd:gDay

Known subtypes

None

Data parameters (facets)

enumeration, maxExclusive, maxInclusive, minExclusive, minInclusive, pattern

Description

The value space of xsd:gDay is the period of one calendar day recurring each calendar month (such as the third day of the month); its lexical space follows the ISO 8601 syntax for such periods (i.e., -- -DD) with an optional time zone.

When needed, days are reduced to fit in the length of the months, so ---31 would occur on the 28th of February of nonleap years.

Restrictions

The period (one month) and the duration (one day) are fixed, and no calendars other than Gregorian are supported.

Example

Valid values include ---01, ---01Z, ---01+02:00, ---01-04:00, ---15, and ---31.

The following values are invalid: --30- (the format must be ---DD), ---35 (the day is out of range), ---5 (all the digits must be supplied), or 15 (missing leading ---).


This text is released under the Free Software Foundation GFDL.