Package zinnia :: Package templatetags :: Module zcalendar :: Class ZinniaCalendar
[hide private]

Class ZinniaCalendar

source code


Override of HTMLCalendar

Instance Methods [hide private]
 
__init__(self)
Retrieve and convert the localized first week day at initialization
source code
 
formatday(self, day, weekday)
Return a day as a table cell with a link if entries are published this day
source code
 
formatmonth(self, theyear, themonth, withyear=True)
Return a formatted month as a table with new attributes computed for formatting a day
source code
 
formatweekday(self, day)
Return a weekday name translated as a table header.
source code
 
formatmonthname(self, theyear, themonth, withyear=True)
Return a month name translated as a table row.
source code

Inherited from calendar.HTMLCalendar: formatweek, formatweekheader, formatyear, formatyearpage

Inherited from calendar.Calendar: getfirstweekday, itermonthdates, itermonthdays, itermonthdays2, iterweekdays, monthdatescalendar, monthdays2calendar, monthdayscalendar, setfirstweekday, yeardatescalendar, yeardays2calendar, yeardayscalendar

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

Class Variables [hide private]

Inherited from calendar.HTMLCalendar: cssclasses

Properties [hide private]

Inherited from calendar.Calendar: firstweekday

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Retrieve and convert the localized first week day at initialization

Overrides: object.__init__

formatday(self, day, weekday)

source code 

Return a day as a table cell with a link if entries are published this day

Overrides: calendar.HTMLCalendar.formatday

formatmonth(self, theyear, themonth, withyear=True)

source code 

Return a formatted month as a table with new attributes computed for formatting a day

Overrides: calendar.HTMLCalendar.formatmonth

formatweekday(self, day)

source code 

Return a weekday name translated as a table header.

Overrides: calendar.HTMLCalendar.formatweekday

formatmonthname(self, theyear, themonth, withyear=True)

source code 

Return a month name translated as a table row.

Overrides: calendar.HTMLCalendar.formatmonthname