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

Method testMonthlyBySetPos

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

Source from the content-addressed store, hash-verified

725 datetime(1997, 9, 2, 18, 18, 6)])
726
727 def testMonthlyBySetPos(self):
728 self.assertEqual(list(rrule(MONTHLY,
729 count=3,
730 bymonthday=(13, 17),
731 byhour=(6, 18),
732 bysetpos=(3, -3),
733 dtstart=datetime(1997, 9, 2, 9, 0))),
734 [datetime(1997, 9, 13, 18, 0),
735 datetime(1997, 9, 17, 6, 0),
736 datetime(1997, 10, 13, 18, 0)])
737
738 def testWeekly(self):
739 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected