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

Class RelativeDay

source code

object --+    
         |    
 enum.Enum --+
             |
            RelativeDay

Nested Classes [hide private]

Inherited from enum.Enum: _member_type_

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(cls) source code
 
days_from(self, day) source code
 
__format__(self, format_spec)
default object formatter
 
__reduce_ex__(self, proto)
helper for pickle
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)

Inherited from enum.Enum: __dir__, __eq__, __ge__, __gt__, __hash__, __le__, __lt__, __ne__

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

Static Methods [hide private]
 
__member_new__(cls) source code
Class Variables [hide private]
  LAST_SUNDAY = ()
  LAST_SATURDAY = ()
  LAST_FRIDAY = ()
  LAST_THURSDAY = ()
  LAST_WEDNESDAY = ()
  LAST_TUESDAY = ()
  LAST_MONDAY = ()
  NEXT_MONDAY = ()
  NEXT_TUESDAY = ()
  NEXT_WEDNESDAY = ()
  NEXT_THURSDAY = ()
  NEXT_FRIDAY = ()
  NEXT_SATURDAY = ()
  NEXT_SUNDAY = ()
  _member_map_ = OrderedDict([('LAST_SUNDAY', <RelativeDay.LAST_...
  _member_names_ = ['LAST_SUNDAY']
  _value2member_map_ = {(): <RelativeDay.LAST_SUNDAY: ()>}

Inherited from enum.Enum: name, value

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls)

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

__format__(self, format_spec)

 

default object formatter

Overrides: object.__format__
(inherited documentation)

__reduce_ex__(self, proto)

 

helper for pickle

Overrides: object.__reduce_ex__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

_member_map_

Value:
OrderedDict([('LAST_SUNDAY', <RelativeDay.LAST_SUNDAY: ()>), ('LAST_TU\
ESDAY', <RelativeDay.LAST_SUNDAY: ()>), ('NEXT_MONDAY', <RelativeDay.L\
AST_SUNDAY: ()>), ('NEXT_SATURDAY', <RelativeDay.LAST_SUNDAY: ()>), ('\
NEXT_FRIDAY', <RelativeDay.LAST_SUNDAY: ()>), ('NEXT_TUESDAY', <Relati\
veDay.LAST_SUNDAY: ()>), ('LAST_MONDAY', <RelativeDay.LAST_SUNDAY: ()>\
), ('NEXT_THURSDAY', <RelativeDay.LAST_SUNDAY: ()>), ('LAST_FRIDAY', <\
RelativeDay.LAST_SUNDAY: ()>), ('LAST_SATURDAY', <RelativeDay.LAST_SUN\
DAY: ()>), ('LAST_THURSDAY', <RelativeDay.LAST_SUNDAY: ()>), ('NEXT_SU\
...