Staging: this is not the live site, pydocs.org.
Base calendar class. This class doesn't do any formatting. It simply
provides data to subclasses.
Members of Calendar
i
- itermonthdays2
- Like itermonthdates(), but will yield (day number, weekday number) tuples.
- itermonthdays3
- Like itermonthdates(), but will yield (year, month, day) tuples.
- itermonthdays4
- Like itermonthdates(), but will yield (year, month, day, day_of_week) tuples.
- iterweekdays
- Return an iterator for one week of weekday numbers starting with the configured first one.
s
- setfirstweekday
- Set the first weekday to firstweekday, passed as an int (0–6).
y
- yeardays2calendar
- Return the data for the specified year ready for formatting (similar to yeardatescalendar()).
- yeardayscalendar
- Return the data for the specified year ready for formatting (similar to yeardatescalendar()).