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).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access