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

Method testWeeklyByMonthAndMonthDayAndWeekDay

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

Source from the content-addressed store, hash-verified

841 datetime(1998, 3, 3, 9, 0)])
842
843 def testWeeklyByMonthAndMonthDayAndWeekDay(self):
844 self.assertEqual(list(rrule(WEEKLY,
845 count=3,
846 bymonth=(1, 3),
847 bymonthday=(1, 3),
848 byweekday=(TU, TH),
849 dtstart=datetime(1997, 9, 2, 9, 0))),
850 [datetime(1998, 1, 1, 9, 0),
851 datetime(1998, 3, 3, 9, 0),
852 datetime(2001, 3, 1, 9, 0)])
853
854 def testWeeklyByYearDay(self):
855 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected