def formatday(self, day, weekday, width):
        if day == 0:
            s = ''
        else:
            s = '%2i' % day             # right-align single-digit days
        return s.center(width)
Returns a formatted day.
dataset/ETHPy150Open babble/babble/include/jython/Lib/calendar.py/TextCalendar.formatday