Home
last modified time | relevance | path

Searched refs:themonth (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dcalendar.py304 def formatmonthname(self, theyear, themonth, width, withyear=True): argument
308 s = month_name[themonth]
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):
414 def formatmonthname(self, theyear, themonth, withyear=True): argument
419 s = '%s %s' % (month_name[themonth], theyear)
421 s = '%s' % month_name[themonth]
[all …]
/external/python/cpython3/Lib/
Dcalendar.py337 def formatmonthname(self, theyear, themonth, width, withyear=True): argument
341 s = month_name[themonth]
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):
467 def formatmonthname(self, theyear, themonth, withyear=True): argument
472 s = '%s %s' % (month_name[themonth], theyear)
474 s = '%s' % month_name[themonth]
[all …]
/external/python/cpython2/Doc/library/
Dcalendar.rst120 .. method:: formatmonth(theyear, themonth[, w[, l]])
129 .. method:: prmonth(theyear, themonth[, w[, l]])
158 .. method:: formatmonth(theyear, themonth[, withyear])
269 .. function:: prmonth(theyear, themonth[, w[, l]])
274 .. function:: month(theyear, themonth[, w[, l]])
/external/python/cpython3/Doc/library/
Dcalendar.rst141 .. method:: formatmonth(theyear, themonth, w=0, l=0)
150 .. method:: prmonth(theyear, themonth, w=0, l=0)
177 .. method:: formatmonth(theyear, themonth, withyear=True)
356 .. function:: prmonth(theyear, themonth, w=0, l=0)
361 .. function:: month(theyear, themonth, w=0, l=0)