Package pyxb :: Package binding :: Module datatypes :: Class date
[hide private]
[frames] | no frames]

Class date

source code

                    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 --+    
                                                 |    
                                _PyXBDateOnly_base --+
                                                     |
                                                    date

XMLSchema datatype date.

This class uses the Python datetime.date class as its underlying representation.

Nested Classes [hide private]

Inherited from _PyXBDateOnly_base (private): _XsdBaseType

Instance Methods [hide private]

Inherited from _PyXBDateOnly_base: __getattribute__

Inherited from basis.simpleTypeDefinition: __init__, pythonLiteral, xsdConstraintsOK, xsdLiteral, xsdValueLength

Inherited from basis._TypeBinding_mixin: __setattr__, toDOM, toxml, validateBinding

Inherited from datetime.date: __add__, __eq__, __format__, __ge__, __gt__, __hash__, __le__, __lt__, __ne__, __radd__, __reduce__, __repr__, __rsub__, __str__, __sub__, ctime, fromordinal, fromtimestamp, isocalendar, isoformat, isoweekday, replace, strftime, timetuple, today, toordinal, weekday

Inherited from object: __delattr__, __reduce_ex__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from _PyXBDateOnly_base: XsdLiteral

Inherited from basis.simpleTypeDefinition: PythonLiteral, SimpleTypeDefinition, XsdConstraintsOK, XsdSuperType, XsdValueLength

Inherited from basis._TypeBinding_mixin: Factory

Static Methods [hide private]

Inherited from _PyXBDateOnly_base: __new__

Class Variables [hide private]
  _ExpandedName = pyxb.namespace.XMLSchema.createExpandedName('d...
The expanded name of the component.
  _Lexical_re = re.compile(r'^(?P<negYear>-?)(?P<year>\d{4,})-(?...
  _Fields = ('year', 'month', 'day')
  _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 0x1374...
  _CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at ...
  __SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType...
  _httpwww_w3_org2001XMLSchema_date_FacetMap = {<class 'pyxb.bin...

Inherited from basis.simpleTypeDefinition (private): _ReservedSymbols

Inherited from datetime.date: max, min, resolution

Properties [hide private]

Inherited from datetime.date: day, month, year

Inherited from object: __class__

Class Variable Details [hide private]

_ExpandedName

The expanded name of the component.

Value:
pyxb.namespace.XMLSchema.createExpandedName('date')

_Lexical_re

Value:
re.compile(r'^(?P<negYear>-?)(?P<year>\d{4,})-(?P<month>\d{2})-(?P<day\
>\d{2})$')

_CF_enumeration

Value:
<pyxb.binding.facets.CF_enumeration object at 0x1374ad0>

_CF_maxExclusive

Value:
<pyxb.binding.facets.CF_maxExclusive object at 0x1374bd0>

_CF_maxInclusive

Value:
<pyxb.binding.facets.CF_maxInclusive object at 0x1374c10>

_CF_minExclusive

Value:
<pyxb.binding.facets.CF_minExclusive object at 0x1374b10>

_CF_minInclusive

Value:
<pyxb.binding.facets.CF_minInclusive object at 0x1374b90>

_CF_pattern

Value:
<pyxb.binding.facets.CF_pattern object at 0x1374a90>

_CF_whiteSpace

Value:
<pyxb.binding.facets.CF_whiteSpace object at 0x1374b50>

__SimpleTypeDefinition

Value:
<pyxb.xmlschema.structures.SimpleTypeDefinition object at 0x1afd5d0>

_httpwww_w3_org2001XMLSchema_date_FacetMap

Value:
{<class 'pyxb.binding.facets.CF_whiteSpace'>: <pyxb.binding.facets.CF_\
whiteSpace object at 0x1374b50>,
 <class 'pyxb.binding.facets.CF_minInclusive'>: <pyxb.binding.facets.C\
F_minInclusive object at 0x1374b90>,
 <class 'pyxb.binding.facets.CF_maxInclusive'>: <pyxb.binding.facets.C\
F_maxInclusive object at 0x1374c10>,
 <class 'pyxb.binding.facets.CF_minExclusive'>: <pyxb.binding.facets.C\
F_minExclusive object at 0x1374b10>,
...