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

Method testYearlyByWeekNo

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

Source from the content-addressed store, hash-verified

235 datetime(1999, 7, 19, 9, 0)])
236
237 def testYearlyByWeekNo(self):
238 self.assertEqual(list(rrule(YEARLY,
239 count=3,
240 byweekno=20,
241 dtstart=datetime(1997, 9, 2, 9, 0))),
242 [datetime(1998, 5, 11, 9, 0),
243 datetime(1998, 5, 12, 9, 0),
244 datetime(1998, 5, 13, 9, 0)])
245
246 def testYearlyByWeekNoAndWeekDay(self):
247 # 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