xsd.dayTimeDuration

The xsd.dayTimeDuration class represents duration of time in form of seconds. It is derived from xsd.duration by restricting the xsd.duration.months property to 0.

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

class xsd.dayTimeDuration

Attributes

xsd.dayTimeDuration.months

Returns the months part of the xsd.dayTimeDuration value as decimal.Decimal. This is always 0.

xsd.dayTimeDuration.seconds

Returns the seconds part of the xsd.dayTimeDuration value as decimal.Decimal.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__