Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dcalendar.py335 def formatyear(self, theyear, w=2, l=1, c=6, m=3): member in TextCalendar
374 print self.formatyear(theyear, w, l, c, m)
443 def formatyear(self, theyear, width=3): member in HTMLCalendar
483 a(self.formatyear(theyear, width))
587 calendar = c.formatyear
700 result = cal.formatyear(datetime.date.today().year, **optdict)
702 result = cal.formatyear(int(args[1]), **optdict)
/external/python/cpython3/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))
631 calendar = c.formatyear
757 result = cal.formatyear(datetime.date.today().year, **optdict)
759 result = cal.formatyear(options.year, **optdict)
/external/python/cpython3/Lib/test/
Dtest_calendar.py403 calendar.TextCalendar().formatyear(2004),
407 calendar.TextCalendar().formatyear(0),
957 self.cal.cssclass_year), self.cal.formatyear(2017))
961 3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
/external/python/cpython3/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.
/external/python/cpython2/Doc/library/
Dcalendar.rst134 .. method:: formatyear(theyear[, w[, l[, c[, m]]]])
146 Print the calendar for an entire year as returned by :meth:`formatyear`.
165 .. method:: formatyear(theyear[, width])
290 :meth:`formatyear` of the :class:`TextCalendar` class.
/external/python/cpython2/Lib/test/
Dtest_calendar.py205 calendar.TextCalendar().formatyear(2004).strip(),