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

Method testHourlyByEasterPos

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

Source from the content-addressed store, hash-verified

1580 datetime(1998, 4, 12, 2, 0)])
1581
1582 def testHourlyByEasterPos(self):
1583 self.assertEqual(list(rrule(HOURLY,
1584 count=3,
1585 byeaster=1,
1586 dtstart=datetime(1997, 9, 2, 9, 0))),
1587 [datetime(1998, 4, 13, 0, 0),
1588 datetime(1998, 4, 13, 1, 0),
1589 datetime(1998, 4, 13, 2, 0)])
1590
1591 def testHourlyByEasterNeg(self):
1592 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected