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

Method testWeeklyByMonthAndYearDay

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

Source from the content-addressed store, hash-verified

872 datetime(1998, 7, 19, 9, 0)])
873
874 def testWeeklyByMonthAndYearDay(self):
875 self.assertEqual(list(rrule(WEEKLY,
876 count=4,
877 bymonth=(1, 7),
878 byyearday=(1, 100, 200, 365),
879 dtstart=datetime(1997, 9, 2, 9, 0))),
880 [datetime(1998, 1, 1, 9, 0),
881 datetime(1998, 7, 19, 9, 0),
882 datetime(1999, 1, 1, 9, 0),
883 datetime(1999, 7, 19, 9, 0)])
884
885 def testWeeklyByMonthAndYearDayNeg(self):
886 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected