Package dbf :: Module ver_2 :: Class IsoMonth
[hide private]
[frames] | no frames]

Class IsoMonth

source code

object --+        
         |        
       int --+    
             |    
object --+   |    
         |   |    
 enum.Enum --+    
             |    
  enum.IntEnum --+
                 |
                IsoMonth

Nested Classes [hide private]

Inherited from enum.IntEnum: _member_type_

Instance Methods [hide private]
 
next_delta(self, month)
Return number of months needed to get from self to month.
source code
 
last_delta(self, month)
Return number of months needed to get from self to month.
source code

Inherited from enum.IntEnum: __format__, __reduce_ex__, __repr__, __str__

Inherited from int: __abs__, __add__, __and__, __cmp__, __coerce__, __div__, __divmod__, __float__, __floordiv__, __getattribute__, __getnewargs__, __hash__, __hex__, __index__, __int__, __invert__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __oct__, __or__, __pos__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __rfloordiv__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rtruediv__, __rxor__, __sub__, __truediv__, __trunc__, __xor__, bit_length, conjugate

Inherited from enum.Enum: __dir__

Inherited from object: __delattr__, __init__, __reduce__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]

Inherited from enum.IntEnum: __new__

Class Variables [hide private]
  JANUARY = 1
  FEBRUARY = 2
  MARCH = 3
  APRIL = 4
  MAY = 5
  JUNE = 6
  JULY = 7
  AUGUST = 8
  SEPTEMBER = 9
  OCTOBER = 10
  NOVEMBER = 11
  DECEMBER = 12
  _member_map_ = OrderedDict([('JANUARY', <IsoMonth.JANUARY: 1>)...
  _member_names_ = ['JANUARY', 'FEBRUARY', 'MARCH', 'APRIL', 'MA...
  _value2member_map_ = {1: <IsoMonth.JANUARY: 1>, 2: <IsoMonth.F...

Inherited from enum.IntEnum: __eq__, __ge__, __gt__, __le__, __lt__, __ne__

Inherited from enum.Enum: name, value

Properties [hide private]

Inherited from int: denominator, imag, numerator, real

Inherited from object: __class__

Class Variable Details [hide private]

_member_map_

Value:
OrderedDict([('JANUARY', <IsoMonth.JANUARY: 1>), ('FEBRUARY', <IsoMont\
h.FEBRUARY: 2>), ('MARCH', <IsoMonth.MARCH: 3>), ('APRIL', <IsoMonth.A\
PRIL: 4>), ('MAY', <IsoMonth.MAY: 5>), ('JUNE', <IsoMonth.JUNE: 6>), (\
'JULY', <IsoMonth.JULY: 7>), ('AUGUST', <IsoMonth.AUGUST: 8>), ('SEPTE\
MBER', <IsoMonth.SEPTEMBER: 9>), ('OCTOBER', <IsoMonth.OCTOBER: 10>), \
('NOVEMBER', <IsoMonth.NOVEMBER: 11>), ('DECEMBER', <IsoMonth.DECEMBER\
: 12>)])

_member_names_

Value:
['JANUARY',
 'FEBRUARY',
 'MARCH',
 'APRIL',
 'MAY',
 'JUNE',
 'JULY',
 'AUGUST',
...

_value2member_map_

Value:
{1: <IsoMonth.JANUARY: 1>,
 2: <IsoMonth.FEBRUARY: 2>,
 3: <IsoMonth.MARCH: 3>,
 4: <IsoMonth.APRIL: 4>,
 5: <IsoMonth.MAY: 5>,
 6: <IsoMonth.JUNE: 6>,
 7: <IsoMonth.JULY: 7>,
 8: <IsoMonth.AUGUST: 8>,
...