(self)
| 407 | datetime(2000, 9, 2, 9, 0)]) |
| 408 | |
| 409 | def testMonthlyByMonth(self): |
| 410 | self.assertEqual(list(rrule(MONTHLY, |
| 411 | count=3, |
| 412 | bymonth=(1, 3), |
| 413 | dtstart=datetime(1997, 9, 2, 9, 0))), |
| 414 | [datetime(1998, 1, 2, 9, 0), |
| 415 | datetime(1998, 3, 2, 9, 0), |
| 416 | datetime(1999, 1, 2, 9, 0)]) |
| 417 | |
| 418 | def testMonthlyByMonthDay(self): |
| 419 | self.assertEqual(list(rrule(MONTHLY, |