Searched refs:formatyear (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/ |
D | calendar.py | 335 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/cpython2/Doc/library/ |
D | calendar.rst | 134 .. 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/ |
D | test_calendar.py | 205 calendar.TextCalendar().formatyear(2004).strip(),
|