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

Method testDailyByEaster

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

Source from the content-addressed store, hash-verified

1261 datetime(2009, 12, 28, 9, 0)])
1262
1263 def testDailyByEaster(self):
1264 self.assertEqual(list(rrule(DAILY,
1265 count=3,
1266 byeaster=0,
1267 dtstart=datetime(1997, 9, 2, 9, 0))),
1268 [datetime(1998, 4, 12, 9, 0),
1269 datetime(1999, 4, 4, 9, 0),
1270 datetime(2000, 4, 23, 9, 0)])
1271
1272 def testDailyByEasterPos(self):
1273 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected