• Home
  • Raw
  • Download

Lines Matching refs:theyear

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)):
352 names = (self.formatmonthname(theyear, k, colwidth, False)
372 def pryear(self, theyear, w=0, l=0, c=6, m=3): argument
374 print self.formatyear(theyear, w, l, c, m)
414 def formatmonthname(self, theyear, themonth, withyear=True): argument
419 s = '%s %s' % (month_name[themonth], theyear)
424 def formatmonth(self, theyear, themonth, withyear=True): argument
432 a(self.formatmonthname(theyear, themonth, withyear=withyear))
436 for week in self.monthdays2calendar(theyear, themonth):
443 def formatyear(self, theyear, width=3): argument
452 a('<tr><th colspan="%d" class="year">%s</th></tr>' % (width, theyear))
459 a(self.formatmonth(theyear, m, withyear=False))
465 def formatyearpage(self, theyear, width=3, css='calendar.css', encoding=None): argument
480 a('<title>Calendar for %d</title>\n' % theyear)
483 a(self.formatyear(theyear, width))
527 def formatmonthname(self, theyear, themonth, width, withyear=True): argument
533 s = "%s %r" % (s, theyear)
557 def formatmonthname(self, theyear, themonth, withyear=True): argument
563 s = '%s %s' % (s, theyear)