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

Method testDailyByWeekNo

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

Source from the content-addressed store, hash-verified

1208 datetime(1999, 7, 19, 9, 0)])
1209
1210 def testDailyByWeekNo(self):
1211 self.assertEqual(list(rrule(DAILY,
1212 count=3,
1213 byweekno=20,
1214 dtstart=datetime(1997, 9, 2, 9, 0))),
1215 [datetime(1998, 5, 11, 9, 0),
1216 datetime(1998, 5, 12, 9, 0),
1217 datetime(1998, 5, 13, 9, 0)])
1218
1219 def testDailyByWeekNoAndWeekDay(self):
1220 # 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