Searched refs:theyear (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | calendar.py | 304 def formatmonthname(self, theyear, themonth, width, withyear=True): argument 310 s = "%s %r" % (s, theyear) 313 def prmonth(self, theyear, themonth, w=0, l=0): argument 317 print self.formatmonth(theyear, themonth, w, l), 319 def formatmonth(self, theyear, themonth, w=0, l=0): argument 325 s = self.formatmonthname(theyear, themonth, 7 * (w + 1) - 1) 330 for week in self.monthdays2calendar(theyear, themonth): 335 def formatyear(self, theyear, w=2, l=1, c=6, m=3): argument 345 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip()) 348 for (i, row) in enumerate(self.yeardays2calendar(theyear, m)): [all …]
|
/external/python/cpython2/Doc/library/ |
D | calendar.rst | 120 .. method:: formatmonth(theyear, themonth[, w[, l]]) 129 .. method:: prmonth(theyear, themonth[, w[, l]]) 134 .. method:: formatyear(theyear[, w[, l[, c[, m]]]]) 144 .. method:: pryear(theyear[, w[, l[, c[, m]]]]) 158 .. method:: formatmonth(theyear, themonth[, withyear]) 165 .. method:: formatyear(theyear[, width]) 171 .. method:: formatyearpage(theyear[, width[, css[, encoding]]]) 269 .. function:: prmonth(theyear, themonth[, w[, l]]) 274 .. function:: month(theyear, themonth[, w[, l]])
|