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

Method testToStrWeeklyByMonthAndWeekDay

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

Source from the content-addressed store, hash-verified

3570 dtstart=datetime(1997, 9, 2, 9, 0)))
3571
3572 def testToStrWeeklyByMonthAndWeekDay(self):
3573 # This test is interesting, because it crosses the year
3574 # boundary in a weekly period to find day '1' as a
3575 # valid recurrence.
3576 self._rrulestr_reverse_test(rrule(WEEKLY,
3577 count=3,
3578 bymonth=(1, 3),
3579 byweekday=(TU, TH),
3580 dtstart=datetime(1997, 9, 2, 9, 0)))
3581
3582 def testToStrWeeklyByMonthAndNWeekDay(self):
3583 self._rrulestr_reverse_test(rrule(WEEKLY,

Callers

nothing calls this directly

Calls 2

rruleClass · 0.90

Tested by

no test coverage detected