(self)
| 471 | datetime(1997, 10, 16, 9, 0)]) |
| 472 | |
| 473 | def testMonthlyByMonthAndWeekDay(self): |
| 474 | self.assertEqual(list(rrule(MONTHLY, |
| 475 | count=3, |
| 476 | bymonth=(1, 3), |
| 477 | byweekday=(TU, TH), |
| 478 | dtstart=datetime(1997, 9, 2, 9, 0))), |
| 479 | [datetime(1998, 1, 1, 9, 0), |
| 480 | datetime(1998, 1, 6, 9, 0), |
| 481 | datetime(1998, 1, 8, 9, 0)]) |
| 482 | |
| 483 | def testMonthlyByMonthAndNWeekDay(self): |
| 484 | self.assertEqual(list(rrule(MONTHLY, |