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

Method testWeeklyByYearDay

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

Source from the content-addressed store, hash-verified

852 datetime(2001, 3, 1, 9, 0)])
853
854 def testWeeklyByYearDay(self):
855 self.assertEqual(list(rrule(WEEKLY,
856 count=4,
857 byyearday=(1, 100, 200, 365),
858 dtstart=datetime(1997, 9, 2, 9, 0))),
859 [datetime(1997, 12, 31, 9, 0),
860 datetime(1998, 1, 1, 9, 0),
861 datetime(1998, 4, 10, 9, 0),
862 datetime(1998, 7, 19, 9, 0)])
863
864 def testWeeklyByYearDayNeg(self):
865 self.assertEqual(list(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected