xsd.dateTimeStamp

The xsd.dateTimeStamp class represents instants of time with a required explicit timezone offset.

Base class: xsd.dateTime -> xsd.anyAtomicType -> xsd.anySimpleType

class xsd.dateTimeStamp

Attributes

xsd.dateTime.day

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

xsd.dateTime.hour

Returns the hour part of the xsd.datetime value as native int.

xsd.dateTime.minute

Returns the minute part of the xsd.datetime value as native int.

xsd.dateTime.month

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

xsd.dateTime.second

Returns the second part of the xsd.datetime value as decimal.Decimal.

xsd.dateTime.timezoneOffset

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

xsd.dateTime.value

Returns the xsd.datetime value as datetime.datetime.

xsd.dateTime.year

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

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__