| 808 | datetime(1997, 9, 9, 9, 0)]) |
| 809 | |
| 810 | def testWeeklyByMonthAndWeekDay(self): |
| 811 | # This test is interesting, because it crosses the year |
| 812 | # boundary in a weekly period to find day '1' as a |
| 813 | # valid recurrence. |
| 814 | self.assertEqual(list(rrule(WEEKLY, |
| 815 | count=3, |
| 816 | bymonth=(1, 3), |
| 817 | byweekday=(TU, TH), |
| 818 | dtstart=datetime(1997, 9, 2, 9, 0))), |
| 819 | [datetime(1998, 1, 1, 9, 0), |
| 820 | datetime(1998, 1, 6, 9, 0), |
| 821 | datetime(1998, 1, 8, 9, 0)]) |
| 822 | |
| 823 | def testWeeklyByMonthAndNWeekDay(self): |
| 824 | self.assertEqual(list(rrule(WEEKLY, |