xsd.date

The xsd.date class represents dates (year, month, day) with an optional timezone offset.

Base class: xsd.anyAtomicType -> xsd.anySimpleType

class xsd.date(lexical_value=None)

Attributes

xsd.date.day

Returns the day part of the xsd.date value as native int.

xsd.date.month

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

xsd.date.timezoneOffset

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

xsd.date.value

Returns the xsd.date value as datetime.date.

xsd.date.year

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

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__