Module bpcalendar :: Class RepeatEntry
[hide private]
[frames] | no frames]

Class RepeatEntry

source code

object --+
         |
        RepeatEntry

Instance Methods [hide private]
 
__init__(self, repeat_type='daily')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__eq__(self, rhs) source code
 
__ne__(self, rhs) source code
 
get(self) source code
 
get_db_dict(self) source code
 
set(self, data) source code
 
set_db_dict(self, data) source code
 
get_nthweekday(self, date)
Utility routine: return the nth weekday of the specified date
source code
 
_check_daily(self, s, d) source code
 
_next_daily(self, ymd)
Return the date (y,m,d) of the next occurrence of this event
source code
 
_weekof(self, d) source code
 
_check_weekly(self, s, d) source code
 
_next_weekly(self, ymd)
Return the next occurrence of this event from ymd date
source code
 
_check_monthly(self, s, d) source code
 
_next_monthly(self, ymd)
Return the date of the next occurrence of this event
source code
 
_check_yearly(self, s, d) source code
 
_next_yearly(self, ymd)
Return the date of the next occurrence of this event
source code
 
is_active(self, s, d) source code
 
next_date(self, ymd)
Return the date of the next occurrence of this event
source code
 
_get_type(self) source code
 
_set_type(self, repeat_type) source code
 
_get_interval(self) source code
 
_set_interval(self, interval) source code
 
_get_interval2(self) source code
 
_set_interval2(self, interval) source code
 
_get_dow(self) source code
 
_set_dow(self, dow) source code
 
_get_dow_str(self) source code
 
_get_wkstart(self) source code
 
_set_wkstart(self, wkstart) source code
 
_get_suppressed(self) source code
 
_set_suppressed(self, d) source code
 
add_suppressed(self, y, m, d) source code
 
get_suppressed_list(self) source code
 
_get_suppressed_str(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  daily = 'daily'
  weekly = 'weekly'
  monthly = 'monthly'
  yearly = 'yearly'
  _interval = 0
  _dow = 1
  _dom = 0
  _moy = 1
  _interval2 = 2
  _dow_names = ({1: 'Sun'}, {2: 'Mon'}, {4: 'Tue'}, {8: 'Wed'}, ...
  _dow_num = {1: 0, 2: 1, 4: 2, 8: 3, 16: 4, 32: 5, 64: 6}
  dow_names = {'Fri': 32, 'Mon': 2, 'Sat': 64, 'Sun': 1, 'Thu': ...
  dow_weekday = 62
  dow_weekend = 65
  dow_weekstart = {'FR': 5, 'MO': 1, 'SA': 6, 'SU': 7, 'TH': 4, ...
Properties [hide private]
  repeat_type
  interval
  interval2
  dow
  dow_str
  weekstart
  suppressed
  suppressed_str

Inherited from object: __class__

Method Details [hide private]

__init__(self, repeat_type='daily')
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

_dow_names

Value:
({1: 'Sun'},
 {2: 'Mon'},
 {4: 'Tue'},
 {8: 'Wed'},
 {16: 'Thu'},
 {32: 'Fri'},
 {64: 'Sat'})

dow_names

Value:
{'Fri': 32,
 'Mon': 2,
 'Sat': 64,
 'Sun': 1,
 'Thu': 16,
 'Tue': 4,
 'Wed': 8}

dow_weekstart

Value:
{'FR': 5, 'MO': 1, 'SA': 6, 'SU': 7, 'TH': 4, 'TU': 2, 'WE': 3}

Property Details [hide private]

repeat_type

Get Method:
_get_type(self)
Set Method:
_set_type(self, repeat_type)

interval

Get Method:
_get_interval(self)
Set Method:
_set_interval(self, interval)

interval2

Get Method:
_get_interval2(self)
Set Method:
_set_interval2(self, interval)

dow

Get Method:
_get_dow(self)
Set Method:
_set_dow(self, dow)

dow_str

Get Method:
_get_dow_str(self)

weekstart

Get Method:
_get_wkstart(self)
Set Method:
_set_wkstart(self, wkstart)

suppressed

Get Method:
_get_suppressed(self)
Set Method:
_set_suppressed(self, d)

suppressed_str

Get Method:
_get_suppressed_str(self)