gMonth data type

The xs:gMonth data type represents a Gregorian month that recurs every year. Gregorian calendar months are defined in ISO 8601. Derived from data type xdt:anyAtomicType.

This data type represents a specific month of the year. For example, this data type might be used to indicate that Christmas is celebrated in the month of December.

The lexical form of xs:gMonth is --mmzzzzzz, which is a truncated representation of xs:date that does not include the year or day properties. No preceding sign is allowed. No other formats are allowed. The following abbreviations describe this form:

mm
A 2-digit numeral that represents the month.
zzzzzz
Optional. If present, represents the timezone. See Timezone indicator for more information about the format for this property.
For example, the following form indicates December, a specific month that recurs every year:
--12