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

Method testMonthlyByEaster

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

Source from the content-addressed store, hash-verified

630 datetime(2009, 12, 28, 9, 0)])
631
632 def testMonthlyByEaster(self):
633 self.assertEqual(list(rrule(MONTHLY,
634 count=3,
635 byeaster=0,
636 dtstart=datetime(1997, 9, 2, 9, 0))),
637 [datetime(1998, 4, 12, 9, 0),
638 datetime(1999, 4, 4, 9, 0),
639 datetime(2000, 4, 23, 9, 0)])
640
641 def testMonthlyByEasterPos(self):
642 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected