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 --+ | object --+ | | | datetime.date --+ | | | datetime.datetime --+ | dateTime
XMLSchema datatype dateTime.
This class uses the Python datetime.datetime
class as its
underlying representation. Unless pyxb.PreserveInputTimeZone() is used, all timezoned
dateTime objects are in UTC. Presence of time zone information in the
lexical space is preserved by a non-empty tzinfo field, which should
always be zero minutes offset from UTC unless the input time zone was
preserved.
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 |
|
|||
a new object with type S, a subtype of T |
|
|
|||
_ExpandedName = pyxb.namespace.XMLSchema.createExpandedName('d The expanded name of the component. |
|||
_Lexical_fmt =
Format for the lexical representation of a date-related instance, excluding timezone. |
|||
__CtorFields =
|
|||
_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 0x1a2d
|
|||
_CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at
|
|||
_httpwww_w3_org2001XMLSchema_dateTime_FacetMap =
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|
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.
|
__CtorFields
|
_CF_enumeration
|
_CF_maxExclusive
|
_CF_maxInclusive
|
_CF_minExclusive
|
_CF_minInclusive
|
_CF_pattern
|
_CF_whiteSpace
|
_httpwww_w3_org2001XMLSchema_dateTime_FacetMap
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 7 19:27:34 2012 | http://epydoc.sourceforge.net |