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

Method testWeeklyByEasterNeg

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

Source from the content-addressed store, hash-verified

965 datetime(2000, 4, 24, 9, 0)])
966
967 def testWeeklyByEasterNeg(self):
968 self.assertEqual(list(rrule(WEEKLY,
969 count=3,
970 byeaster=-1,
971 dtstart=datetime(1997, 9, 2, 9, 0))),
972 [datetime(1998, 4, 11, 9, 0),
973 datetime(1999, 4, 3, 9, 0),
974 datetime(2000, 4, 22, 9, 0)])
975
976 def testWeeklyByHour(self):
977 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected