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

Class gYearMonth

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 --+   |    
                                             |   |    
                             datetime.datetime --+    
                                                 |    
                                _PyXBDateOnly_base --+
                                                     |
                                                    gYearMonth

XMLSchema datatype gYearMonth.

This class uses the Python datetime.datetime class as its underlying representation; fields not relevant to this type are derived from 1900-01-01T00:00:00.

Nested Classes [hide private]

Inherited from _PyXBDateOnly_base (private): _XsdBaseType

Instance Methods [hide private]

Inherited from _PyXBDateTime_base: __reduce__

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

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

Inherited from datetime.datetime: __add__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __le__, __lt__, __ne__, __radd__, __repr__, __rsub__, __str__, __sub__, astimezone, combine, ctime, date, dst, fromtimestamp, isoformat, now, replace, strptime, time, timetuple, timetz, tzname, utcfromtimestamp, utcnow, utcoffset, utctimetuple

Inherited from datetime.date: __format__, fromordinal, isocalendar, isoweekday, strftime, 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('g...
The expanded name of the component.
  _Lexical_fmt = '%Y-%m'
Format for the lexical representation of a date-related instance, excluding timezone.
  _ValidFields = ('year', 'month')
  _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 0x2104...
  _CF_whiteSpace = <pyxb.binding.facets.CF_whiteSpace object at ...
  __SimpleTypeDefinition = <pyxb.xmlschema.structures.SimpleType...
  _httpwww_w3_org2001XMLSchema_gYearMonth_FacetMap = {<class 'py...

Inherited from basis.simpleTypeDefinition (private): _ReservedSymbols

Inherited from basis._TypeBinding_mixin: _validationConfig_

Inherited from datetime.datetime: max, min, resolution

Properties [hide private]

Inherited from basis._TypeBinding_mixin (private): _validationConfig

Inherited from datetime.datetime: hour, microsecond, minute, second, tzinfo

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('gYearMonth')

_CF_enumeration

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

_CF_maxExclusive

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

_CF_maxInclusive

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

_CF_minExclusive

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

_CF_minInclusive

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

_CF_pattern

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

_CF_whiteSpace

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

__SimpleTypeDefinition

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

_httpwww_w3_org2001XMLSchema_gYearMonth_FacetMap

Value:
{<class 'pyxb.binding.facets.CF_enumeration'>: <pyxb.binding.facets.CF\
_enumeration object at 0x2104a50>,
 <class 'pyxb.binding.facets.CF_pattern'>: <pyxb.binding.facets.CF_pat\
tern object at 0x2104a10>,
 <class 'pyxb.binding.facets.CF_whiteSpace'>: <pyxb.binding.facets.CF_\
whiteSpace object at 0x2104ad0>,
 <class 'pyxb.binding.facets.CF_minInclusive'>: <pyxb.binding.facets.C\
F_minInclusive object at 0x2104b10>,
...