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

Method testMonthlyByWeekNo

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

Source from the content-addressed store, hash-verified

564 datetime(1999, 7, 19, 9, 0)])
565
566 def testMonthlyByWeekNo(self):
567 self.assertEqual(list(rrule(MONTHLY,
568 count=3,
569 byweekno=20,
570 dtstart=datetime(1997, 9, 2, 9, 0))),
571 [datetime(1998, 5, 11, 9, 0),
572 datetime(1998, 5, 12, 9, 0),
573 datetime(1998, 5, 13, 9, 0)])
574
575 def testMonthlyByWeekNoAndWeekDay(self):
576 # That's a nice one. The first days of week number one

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected