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

Class _PyXBDateOnly_base

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
Known Subclasses:

Nested Classes [hide private]
  _XsdBaseType
XMLSchema datatype anySimpleType.
Instance Methods [hide private]
 
__getattribute__(self, attr)
x.__getattribute__('name') <==> x.name
source code

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]
 
XsdLiteral(cls, value)
Convert from a python value to a string usable in an XML document.
source code

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

Inherited from basis._TypeBinding_mixin: Factory

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *args, **kw) source code
Class Variables [hide private]
  __DateFields = 'year', 'month', 'day'
  _ISO_beginYear = 0
  _ISO_endYear = 4
  _ISO_beginMonth = 5
  _ISO_endMonth = 7
  _ISO_beginDay = 8
  _ISO_endDay = 10
  _ISOBegin = 0
  _ISOEnd = 10
  _PyXBDateOnly_base__DateFields = ('year', 'month', 'day')

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__

Method Details [hide private]

__getattribute__(self, attr)

source code 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__
(inherited documentation)

__new__(cls, *args, **kw)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)

XsdLiteral(cls, value)
Class Method

source code 

Convert from a python value to a string usable in an XML document.

This should be implemented in the subclass.

Overrides: basis.simpleTypeDefinition.XsdLiteral
(inherited documentation)