Lines Matching refs:theyear
337 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)):
385 names = (self.formatmonthname(theyear, k, colwidth, False)
405 def pryear(self, theyear, w=0, l=0, c=6, m=3): argument
407 print(self.formatyear(theyear, w, l, c, m), end='')
467 def formatmonthname(self, theyear, themonth, withyear=True): argument
472 s = '%s %s' % (month_name[themonth], theyear)
478 def formatmonth(self, theyear, themonth, withyear=True): argument
487 a(self.formatmonthname(theyear, themonth, withyear=withyear))
491 for week in self.monthdays2calendar(theyear, themonth):
498 def formatyear(self, theyear, width=3): argument
509 width, self.cssclass_year_head, theyear))
516 a(self.formatmonth(theyear, m, withyear=False))
522 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): argument
537 a('<title>Calendar for %d</title>\n' % theyear)
540 a(self.formatyear(theyear, width))
576 def formatmonthname(self, theyear, themonth, width, withyear=True): argument
578 return super().formatmonthname(theyear, themonth, width, withyear)
598 def formatmonthname(self, theyear, themonth, withyear=True): argument
600 return super().formatmonthname(theyear, themonth, withyear)