Path 1: 61 calls (1.0)

2004 (36) 2017 (25)

5 (6) 1 (5) 2 (5) 3 (5) 4 (5) 6 (5) 7 (5) 8 (5) 9 (5) 10 (5)

False (60) True (1)

'

\n\n
1def formatmonth(self, theyear, themonth, withyear=True):
2        """
3        Return a formatted month as a table.
4        """
5        v = []
6        a = v.append
7        a('<table border="0" cellpadding="0" cellspacing="0" class="%s">' % (
8            self.cssclass_month))
9        a('\n')
10        a(self.formatmonthname(theyear, themonth, withyear=withyear))
11        a('\n')
12        a(self.formatweekheader())
13        a('\n')
14        for week in self.monthdays2calendar(theyear, themonth):
15            a(self.formatweek(week))
16            a('\n')
17        a('</table>')
18        a('\n')
19        return ''.join(v)
            
January
Mon