Base calendar class. This class doesn't do any formatting. It simply
provides data to subclasses.
|
__init__(self,
firstweekday=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
|
setfirstweekday(self,
firstweekday) |
|
|
|
iterweekdays(self)
Return a iterator for one week of weekday numbers starting with the
configured first one. |
|
|
|
|
|
itermonthdays2(self,
year,
month)
Like itermonthdates(), but will yield (day number, weekday number)
tuples. |
|
|
|
itermonthdays(self,
year,
month)
Like itermonthdates(), but will yield day numbers tuples. |
|
|
|
monthdatescalendar(self,
year,
month)
Return a matrix (list of lists) representing a month's calendar. |
|
|
|
|
|
monthdayscalendar(self,
year,
month)
Return a matrix representing a month's calendar. |
|
|
|
yeardatescalendar(self,
year,
width=3)
Return the data for the specified year ready for formatting. |
|
|
|
yeardays2calendar(self,
year,
width=3)
Return the data for the specified year ready for formatting (similar
to yeardatescalendar()). |
|
|
|
yeardayscalendar(self,
year,
width=3)
Return the data for the specified year ready for formatting (similar
to yeardatescalendar()). |
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|