Home
last modified time | relevance | path

Searched refs:formatyear (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dcalendar.py368 def formatyear(self, theyear, w=2, l=1, c=6, m=3): member in TextCalendar
407 print(self.formatyear(theyear, w, l, c, m), end='')
498 def formatyear(self, theyear, width=3): member in HTMLCalendar
540 a(self.formatyear(theyear, width))
618 calendar = c.formatyear
744 result = cal.formatyear(datetime.date.today().year, **optdict)
746 result = cal.formatyear(options.year, **optdict)
/third_party/python/Lib/test/
Dtest_calendar.py403 calendar.TextCalendar().formatyear(2004),
407 calendar.TextCalendar().formatyear(0),
981 self.cal.cssclass_year), self.cal.formatyear(2017))
985 3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
/third_party/python/Doc/library/
Dcalendar.rst155 .. method:: formatyear(theyear, w=2, l=1, c=6, m=3)
167 Print the calendar for an entire year as returned by :meth:`formatyear`.
184 .. method:: formatyear(theyear, width=3)
249 :meth:`formatyear`). The default value is ``"year"``.
257 :meth:`formatyear`). The default value is ``"year"``.
375 the :meth:`formatyear` of the :class:`TextCalendar` class.