Home
last modified time | relevance | path

Searched refs:theyear (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/
Dcalendar.py337 def formatmonthname(self, theyear, themonth, width, withyear=True): argument
343 s = "%s %r" % (s, theyear)
346 def prmonth(self, theyear, themonth, w=0, l=0): argument
350 print(self.formatmonth(theyear, themonth, w, l), end='')
352 def formatmonth(self, theyear, themonth, w=0, l=0): argument
358 s = self.formatmonthname(theyear, themonth, 7 * (w + 1) - 1)
363 for week in self.monthdays2calendar(theyear, themonth):
368 def formatyear(self, theyear, w=2, l=1, c=6, m=3): argument
378 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip())
381 for (i, row) in enumerate(self.yeardays2calendar(theyear, m)):
[all …]
/third_party/python/Doc/library/
Dcalendar.rst141 .. method:: formatmonth(theyear, themonth, w=0, l=0)
150 .. method:: prmonth(theyear, themonth, w=0, l=0)
155 .. method:: formatyear(theyear, w=2, l=1, c=6, m=3)
165 .. method:: pryear(theyear, w=2, l=1, c=6, m=3)
177 .. method:: formatmonth(theyear, themonth, withyear=True)
184 .. method:: formatyear(theyear, width=3)
190 .. method:: formatyearpage(theyear, width=3, css='calendar.css', encoding=None)
356 .. function:: prmonth(theyear, themonth, w=0, l=0)
361 .. function:: month(theyear, themonth, w=0, l=0)