(self)
| 466 | datetime(1997, 11, 17, 0, 0)]) |
| 467 | |
| 468 | def testMonthlyByNWeekDay(self): |
| 469 | self.assertEqual(list(rrule(MONTHLY, |
| 470 | count=3, |
| 471 | byweekday=(TU(1), TH(-1)), |
| 472 | dtstart=datetime(1997, 9, 2, 9, 0))), |
| 473 | [datetime(1997, 9, 2, 9, 0), |
| 474 | datetime(1997, 9, 25, 9, 0), |
| 475 | datetime(1997, 10, 7, 9, 0)]) |
| 476 | |
| 477 | def testMonthlyByNWeekDayLarge(self): |
| 478 | self.assertEqual(list(rrule(MONTHLY, |