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

Class RelativeMonth

source code

object --+    
         |    
 enum.Enum --+
             |
            RelativeMonth

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
 
months_from(self, month) 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_DECEMBER = ()
  LAST_NOVEMBER = ()
  LAST_OCTOBER = ()
  LAST_SEPTEMBER = ()
  LAST_AUGUST = ()
  LAST_JULY = ()
  LAST_JUNE = ()
  LAST_MAY = ()
  LAST_APRIL = ()
  LAST_MARCH = ()
  LAST_FEBRUARY = ()
  LAST_JANUARY = ()
  NEXT_JANUARY = ()
  NEXT_FEBRUARY = ()
  NEXT_MARCH = ()
  NEXT_APRIL = ()
  NEXT_MAY = ()
  NEXT_JUNE = ()
  NEXT_JULY = ()
  NEXT_AUGUST = ()
  NEXT_SEPTEMBER = ()
  NEXT_OCTOBER = ()
  NEXT_NOVEMBER = ()
  NEXT_DECEMBER = ()
  _member_map_ = OrderedDict([('NEXT_JUNE', <RelativeMonth.NEXT_...
  _member_names_ = ['NEXT_JUNE']
  _value2member_map_ = {(): <RelativeMonth.NEXT_JUNE: ()>}

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([('NEXT_JUNE', <RelativeMonth.NEXT_JUNE: ()>), ('NEXT_MAY'\
, <RelativeMonth.NEXT_JUNE: ()>), ('LAST_APRIL', <RelativeMonth.NEXT_J\
UNE: ()>), ('LAST_NOVEMBER', <RelativeMonth.NEXT_JUNE: ()>), ('LAST_MA\
RCH', <RelativeMonth.NEXT_JUNE: ()>), ('LAST_JANUARY', <RelativeMonth.\
NEXT_JUNE: ()>), ('NEXT_DECEMBER', <RelativeMonth.NEXT_JUNE: ()>), ('N\
EXT_APRIL', <RelativeMonth.NEXT_JUNE: ()>), ('LAST_OCTOBER', <Relative\
Month.NEXT_JUNE: ()>), ('LAST_FEBRUARY', <RelativeMonth.NEXT_JUNE: ()>\
), ('NEXT_SEPTEMBER', <RelativeMonth.NEXT_JUNE: ()>), ('NEXT_JANUARY',\
...