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

Method testMonthlyByWeekNoAndWeekDayLarge

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

Source from the content-addressed store, hash-verified

598 datetime(2000, 1, 3, 9, 0)])
599
600 def testMonthlyByWeekNoAndWeekDayLarge(self):
601 # Another nice test. The last days of week number 52/53
602 # may be in the next year.
603 self.assertEqual(list(rrule(MONTHLY,
604 count=3,
605 byweekno=52,
606 byweekday=SU,
607 dtstart=datetime(1997, 9, 2, 9, 0))),
608 [datetime(1997, 12, 28, 9, 0),
609 datetime(1998, 12, 27, 9, 0),
610 datetime(2000, 1, 2, 9, 0)])
611
612 def testMonthlyByWeekNoAndWeekDayLast(self):
613 self.assertEqual(list(rrule(MONTHLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected