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

Method testMonthlyByWeekNo

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

Source from the content-addressed store, hash-verified

577 datetime(1999, 7, 19, 9, 0)])
578
579 def testMonthlyByWeekNo(self):
580 self.assertEqual(list(rrule(MONTHLY,
581 count=3,
582 byweekno=20,
583 dtstart=datetime(1997, 9, 2, 9, 0))),
584 [datetime(1998, 5, 11, 9, 0),
585 datetime(1998, 5, 12, 9, 0),
586 datetime(1998, 5, 13, 9, 0)])
587
588 def testMonthlyByWeekNoAndWeekDay(self):
589 # 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