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

Class IsoDay

source code

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

Nested Classes [hide private]

Inherited from enum.IntEnum: _member_type_

Instance Methods [hide private]
 
next_delta(self, day)
Return number of days needed to get from self to day.
source code
 
last_delta(self, day)
Return number of days needed to get from self to day.
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 object: __delattr__, __init__, __reduce__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from enum.Enum (private): _convert

Static Methods [hide private]

Inherited from enum.IntEnum: __new__

Class Variables [hide private]
  MONDAY = <IsoDay.MONDAY: 1>
  TUESDAY = <IsoDay.TUESDAY: 2>
  WEDNESDAY = <IsoDay.WEDNESDAY: 3>
  THURSDAY = <IsoDay.THURSDAY: 4>
  FRIDAY = <IsoDay.FRIDAY: 5>
  SATURDAY = <IsoDay.SATURDAY: 6>
  SUNDAY = <IsoDay.SUNDAY: 7>
  _member_map_ = OrderedDict([('MONDAY', <IsoDay.MONDAY: 1>), ('...
  _member_names_ = ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY'...
  _value2member_map_ = {1: <IsoDay.MONDAY: 1>, 2: <IsoDay.TUESDA...

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([('MONDAY', <IsoDay.MONDAY: 1>), ('TUESDAY', <IsoDay.TUESD\
AY: 2>), ('WEDNESDAY', <IsoDay.WEDNESDAY: 3>), ('THURSDAY', <IsoDay.TH\
URSDAY: 4>), ('FRIDAY', <IsoDay.FRIDAY: 5>), ('SATURDAY', <IsoDay.SATU\
RDAY: 6>), ('SUNDAY', <IsoDay.SUNDAY: 7>)])

_member_names_

Value:
['MONDAY',
 'TUESDAY',
 'WEDNESDAY',
 'THURSDAY',
 'FRIDAY',
 'SATURDAY',
 'SUNDAY']

_value2member_map_

Value:
{1: <IsoDay.MONDAY: 1>,
 2: <IsoDay.TUESDAY: 2>,
 3: <IsoDay.WEDNESDAY: 3>,
 4: <IsoDay.THURSDAY: 4>,
 5: <IsoDay.FRIDAY: 5>,
 6: <IsoDay.SATURDAY: 6>,
 7: <IsoDay.SUNDAY: 7>}