Home | Trees | Indices | Help |
|
---|
|
object --+ | cscRoot --+ | utils.utility.Locatable_mixin --+ | basis._TypeBinding_mixin --+ | object --+ | | | utils.utility._DeconflictSymbols_mixin --+ | object --+ | | | cscRoot --+ | | | basis._DynamicCreate_mixin --+ | basis.simpleTypeDefinition --+ | _PyXBDateTime_base --+ | _PyXBDateTimeZone_base --+ | object --+ | | | datetime.date --+ | | | datetime.datetime --+ | dateTime
XMLSchema datatype dateTime.
This class uses the Python datetime.datetime
class as its
underlying representation. Note that per the XMLSchema spec, all
dateTime objects are in UTC, and that timezone information in the string
representation in XML is an indication of the local time zone's offset
from UTC. Presence of time zone information in the lexical space is
preserved through the value of the hasTimeZone() field.
Warning:
The value space of Python's datetime.datetime
class is
more restricted than that of xs:datetime
. As a
specific example, Python does not support negative years or years
with more than four digits. For now, the convenience of having an
object that is compatible with Python is more important than
supporting the full value space. In the future, the choice may be
left up to the developer.
|
|||
_XsdBaseType XMLSchema datatype anySimpleType. |
|
|||
datetime.datetime (NOT xsd.dateTime )
|
|
||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
a new object with type S, a subtype of T |
|
|
|||
_ExpandedName = pyxb.namespace.XMLSchema.createExpandedName('d The expanded name of the component. |
|||
__Lexical_re = re.compile(r'^
|
|||
__Fields =
|
|||
__UTCZone = pyxb.utils.utility.UTCOffsetTimeZone(0)
|
|||
__LocalZone = pyxb.utils.utility.LocalTimeZone()
|
|||
_CF_enumeration = <pyxb.binding.facets.CF_enumeration object a
|
|||
_CF_maxExclusive = <pyxb.binding.facets.CF_maxExclusive object
|
|||
_CF_maxInclusive = <pyxb.binding.facets.CF_maxInclusive object
|
|||
_CF_minExclusive = <pyxb.binding.facets.CF_minExclusive object
|
|||
_CF_minInclusive = <pyxb.binding.facets.CF_minInclusive object
|
|||
_CF_pattern = <pyxb.binding.facets.CF_pattern object at 0x1378
|
|||
_CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at
|
|||
__SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType
|
|||
_httpwww_w3_org2001XMLSchema_dateTime_FacetMap =
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|
Convert from a python value to a string usable in an XML document. This should be implemented in the subclass.
|
Return today. Just like datetime.datetime.today(), except this one sets a tzinfo field so it's clear the value is UTC.
|
|
_ExpandedNameThe expanded name of the component.
|
__Lexical_re
|
__Fields
|
_CF_enumeration
|
_CF_maxExclusive
|
_CF_maxInclusive
|
_CF_minExclusive
|
_CF_minInclusive
|
_CF_pattern
|
_CF_whiteSpace
|
__SimpleTypeDefinition
|
_httpwww_w3_org2001XMLSchema_dateTime_FacetMap
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Sep 9 14:08:50 2011 | http://epydoc.sourceforge.net |