'Return a day as a table cell.'

def formatday(self, day, weekday):

    if (day == 0):
        return '<td    class="noday">&nbsp;</td>'
    else:
        return ('<td    class="%s">%d</td>' % (self.cssclasses[weekday], day))
