| calendar | index /usr/lib/python2.1/calendar.py |
Calendar printing functions
Note when comparing these calendars to the ones printed by cal(1): By
default, these calendars have Monday as the first day of the week, and
Sunday as the last (the European convention). Use setfirstweekday() to
set the first day of the week (0=Monday, 6=Sunday).
| Functions | ||
| ||
| Data | ||
| EPOCH = 1970 FRIDAY = 4 February = 2 January = 1 MONDAY = 0 SATURDAY = 5 SUNDAY = 6 THURSDAY = 3 TUESDAY = 1 WEDNESDAY = 2 __all__ = ['error', 'setfirstweekday', 'firstweekday', 'isleap', 'leapdays', 'weekday', 'monthrange', 'monthcalendar', 'prmonth', 'month', 'prcal', 'calendar', 'timegm'] __file__ = '/usr/lib/python2.1/calendar.pyc' __name__ = 'calendar' _colwidth = 20 _firstweekday = 0 _spacing = 6 day_abbr = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] day_name = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] month_abbr = [' ', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] month_name = ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] | ||