xsd.ExplicitTimezoneFacet

The xsd.ExplicitTimezoneFacet is a three-valued facet which can can be used to require or prohibit the time zone offset in date/time datatypes (xsd.dateTime, xsd.dateTimeStamp, xsd.time, xsd.date, xsd.gYearMonth, xsd.gYear, xsd.gMonthDay, xsd.gDay, xsd.gMonth).

Base class: xsd.Facet

class xsd.ExplicitTimezoneFacet

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xsd.Facet.builtin

Returns True if this xsd.Facet value is predefined by the XML Schema specification.

xsd.Facet.element

Returns the xml.ElementInformationItem representing this xsd.Facet schema component.

xsd.ExplicitTimezoneFacet.fixed

If fixed is True, then types for which the current type is the base type definition cannot specify a different value for this xsd.Facet.

xsd.ExplicitTimezoneFacet.value

Returns one of xsd.ExplicitTimezone.REQUIRED, xsd.ExplicitTimezone.PROHIBITED and xsd.ExplicitTimezone.OPTIONAL.

Special methods

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