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

def itermonthdays2(self, year, month):

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