'Like itermonthdates(), but will yield day numbers. For days outside
the specified month the day number is 0.'

def itermonthdays(self, year, month):

    for date in self.itermonthdates(year, month):
        if (date.month != month):
            (yield 0)
        else:
            (yield date.day)
