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

Method testMonthlyByHour

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

Source from the content-addressed store, hash-verified

657 datetime(2000, 4, 22, 9, 0)])
658
659 def testMonthlyByHour(self):
660 self.assertEqual(list(rrule(MONTHLY,
661 count=3,
662 byhour=(6, 18),
663 dtstart=datetime(1997, 9, 2, 9, 0))),
664 [datetime(1997, 9, 2, 18, 0),
665 datetime(1997, 10, 2, 6, 0),
666 datetime(1997, 10, 2, 18, 0)])
667
668 def testMonthlyByMinute(self):
669 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected