This class can be passed a locale name in the constructor and will
return month and weekday names in the specified locale. If this locale
includes an encoding all strings containing month and weekday names will
be returned as unicode.
|
__init__(self,
firstweekday=0,
locale=None) |
|
|
|
formatweekday(self,
day,
width)
Returns a formatted week day name. |
|
|
|
formatmonthname(self,
theyear,
themonth,
width,
withyear=True)
Return a formatted month name. |
|
|
Inherited from TextCalendar :
formatday ,
formatmonth ,
formatweek ,
formatweekheader ,
formatyear ,
prmonth ,
prweek ,
pryear
Inherited from Calendar :
getfirstweekday ,
itermonthdates ,
itermonthdays ,
itermonthdays2 ,
iterweekdays ,
monthdatescalendar ,
monthdays2calendar ,
monthdayscalendar ,
setfirstweekday ,
yeardatescalendar ,
yeardays2calendar ,
yeardayscalendar
|