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

Method testHourlyByMonth

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

Source from the content-addressed store, hash-verified

1393 datetime(1997, 11, 5, 11, 0)])
1394
1395 def testHourlyByMonth(self):
1396 self.assertEqual(list(rrule(HOURLY,
1397 count=3,
1398 bymonth=(1, 3),
1399 dtstart=datetime(1997, 9, 2, 9, 0))),
1400 [datetime(1998, 1, 1, 0, 0),
1401 datetime(1998, 1, 1, 1, 0),
1402 datetime(1998, 1, 1, 2, 0)])
1403
1404 def testHourlyByMonthDay(self):
1405 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected