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

Method testHourlyByEaster

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

Source from the content-addressed store, hash-verified

1571 datetime(1998, 12, 28, 2, 0)])
1572
1573 def testHourlyByEaster(self):
1574 self.assertEqual(list(rrule(HOURLY,
1575 count=3,
1576 byeaster=0,
1577 dtstart=datetime(1997, 9, 2, 9, 0))),
1578 [datetime(1998, 4, 12, 0, 0),
1579 datetime(1998, 4, 12, 1, 0),
1580 datetime(1998, 4, 12, 2, 0)])
1581
1582 def testHourlyByEasterPos(self):
1583 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected