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

Method testHourlyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

1439 datetime(1997, 9, 2, 11, 0)])
1440
1441 def testHourlyByMonthAndWeekDay(self):
1442 self.assertEqual(list(rrule(HOURLY,
1443 count=3,
1444 bymonth=(1, 3),
1445 byweekday=(TU, TH),
1446 dtstart=datetime(1997, 9, 2, 9, 0))),
1447 [datetime(1998, 1, 1, 0, 0),
1448 datetime(1998, 1, 1, 1, 0),
1449 datetime(1998, 1, 1, 2, 0)])
1450
1451 def testHourlyByMonthAndNWeekDay(self):
1452 self.assertEqual(list(rrule(HOURLY,

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected