MCPcopy Create free account
hub / github.com/dateutil/dateutil / testMonthlyByMonthAndWeekDay

Method testMonthlyByMonthAndWeekDay

tests/test_rrule.py:486–494  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

484 datetime(1997, 10, 16, 9, 0)])
485
486 def testMonthlyByMonthAndWeekDay(self):
487 self.assertEqual(list(rrule(MONTHLY,
488 count=3,
489 bymonth=(1, 3),
490 byweekday=(TU, TH),
491 dtstart=datetime(1997, 9, 2, 9, 0))),
492 [datetime(1998, 1, 1, 9, 0),
493 datetime(1998, 1, 6, 9, 0),
494 datetime(1998, 1, 8, 9, 0)])
495
496 def testMonthlyByMonthAndNWeekDay(self):
497 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected