xsd.time

The xsd.time class represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day.

Base class: xsd.anyAtomicType -> xsd.anySimpleType

class xsd.time(lexical_value=None)

Attributes

xsd.time.hour

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

xsd.time.minute

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

xsd.time.second

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

xsd.time.timezoneOffset

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

xsd.time.value

Returns the xsd.time value as datetime.time.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__