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

Method testDailyByYearDay

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

Source from the content-addressed store, hash-verified

1166 datetime(2001, 3, 1, 9, 0)])
1167
1168 def testDailyByYearDay(self):
1169 self.assertEqual(list(rrule(DAILY,
1170 count=4,
1171 byyearday=(1, 100, 200, 365),
1172 dtstart=datetime(1997, 9, 2, 9, 0))),
1173 [datetime(1997, 12, 31, 9, 0),
1174 datetime(1998, 1, 1, 9, 0),
1175 datetime(1998, 4, 10, 9, 0),
1176 datetime(1998, 7, 19, 9, 0)])
1177
1178 def testDailyByYearDayNeg(self):
1179 self.assertEqual(list(rrule(DAILY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected