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

Method testDailyByEasterNeg

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

Source from the content-addressed store, hash-verified

1279 datetime(2000, 4, 24, 9, 0)])
1280
1281 def testDailyByEasterNeg(self):
1282 self.assertEqual(list(rrule(DAILY,
1283 count=3,
1284 byeaster=-1,
1285 dtstart=datetime(1997, 9, 2, 9, 0))),
1286 [datetime(1998, 4, 11, 9, 0),
1287 datetime(1999, 4, 3, 9, 0),
1288 datetime(2000, 4, 22, 9, 0)])
1289
1290 def testDailyByHour(self):
1291 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected