Name
xs:gDay — Recurring period of time: monthly day.
Derived from:
xs:anySimpleType
Primary:
xs:gDay
Known subtypes:
none
Facets:
xs:enumeration, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:whiteSpace
<xs:simpleType name="gDay" id="gDay"> <xs:restriction base="xs:anySimpleType"> <xs:whiteSpace value="collapse" fixed="true"/> </xs:restriction> </xs:simpleType>
Description
The value space of xs:gDay
is the periods of one
calendar day recurring each calendar month (such as the third of the
month); its lexical space follows the ISO 8601 syntax for such
periods (i.e., " -- -DD”) with
an optional timezone.
When needed, days are reduced to fit in the length of the months, so
---31
would occur on the the 28th of February of
nonleap years.
Restrictions
The period (one month) and the duration (one day) are fixed, and no calendars other than the Gregorian are supported.
Example
Valid values include "---01"
,
"---01Z"
, "---01+02:00"
,
"---01-04:00"
, "---15"
, or
"---31"
.
The following values would be 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 "---"
).
Get XML Schema now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.