equal
deleted
inserted
replaced
70 date as parameter, and returning True if the date |
70 date as parameter, and returning True if the date |
71 should be included. |
71 should be included. |
72 """ |
72 """ |
73 assert not (incday and incmonth) |
73 assert not (incday and incmonth) |
74 begin = todate(begin) |
74 begin = todate(begin) |
|
75 end = todate(end) |
75 if incmonth: |
76 if incmonth: |
76 while begin < end: |
77 while begin < end: |
77 begin = next_month(begin, incmonth) |
78 begin = next_month(begin, incmonth) |
78 yield begin |
79 yield begin |
79 else: |
80 else: |