Name

xs:gMonthDay

Facets

xs:enumeration, xs:maxExclusive, xs:maxInclusive, xs:minExclusive, xs:minInclusive, xs:pattern, xs:whiteSpace

The xs:gMonthDay type stores a day/month combination in the format --MM-DD, where MM is the month (01–12) and DD is the day (01–31). Acceptable values include --02-27, --12-25, and --01-04.

A time zone relative to Coordinated Universal Time, also known as Greenwich Time or UTC, may also be added. If there is a time zone, the format is ±hh:mm, wherein a plus or minus sign is followed by a two-digit value for hours, then a colon, and then a two-digit value for minutes. You can also use Z in place of the time zone, indicating UTC. Valid xs:gMonthDay values with a time zone include --02-27+05:00, --12-25-10:30, and --01-04Z.

Get XML Pocket Reference, 3rd Edition 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.