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


Name

xsd:gMonthDay — Recurring period of time: yearly day

Synopsis

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

Derived from

xsd:anySimpleType

Primary

xsd:gMonthDay

Known subtypes

None

Data parameters (facets)

enumeration, maxExclusive, maxInclusive, minExclusive, minInclusive, pattern

Description

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

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

Restrictions

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

Example

Valid values are --05-01, --11-01Z, --11-01+02:00, --11-01-04:00, --11-15, and --02-29.

The following values are invalid: -01-30- (the format must be --MM-DD), --01-35 (the day part is out of range), --1-5 (the leading zeros are missing), or 01-15 (the leading -- are missing).


This text is released under the Free Software Foundation GFDL.