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

Method testMonthlyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected