xsd.gYearMonth

The xsd.gYearMonth class represents specific whole Gregorian months in specific Gregorian years with an optional timezone offset.

Base class: xsd.anyAtomicType -> xsd.anySimpleType

class xsd.gYearMonth

Attributes

xsd.gYearMonth.month

Returns the month part of the xsd.gYearMonth value as native int.

xsd.gYearMonth.timezoneOffset

Returns the timezone offset part of the xsd.gYearMonth value in form of mintues in the range of -840 to 840 as native int.

xsd.gYearMonth.year

Returns the year part of the xsd.gYearMonth value as native int.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__