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

Method exdate

src/dateutil/rrule.py:1391–1395  ·  view source on GitHub ↗

Include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even if some inclusive rrule or rdate matches them.

(self, exdate)

Source from the content-addressed store, hash-verified

1389
1390 @_invalidates_cache
1391 def exdate(self, exdate):
1392 """ Include the given datetime instance in the recurrence set
1393 exclusion list. Dates included that way will not be generated,
1394 even if some inclusive rrule or rdate matches them. """
1395 self._exdate.append(exdate)
1396
1397 def _iter(self):
1398 rlist = []

Callers 8

_parse_rfcMethod · 0.80
testSetExDateMethod · 0.80
testSetExDateRevOrderMethod · 0.80
testSetDateAndExDateMethod · 0.80
testSetExDateCountMethod · 0.80
test_rrule_roundtripFunction · 0.80
test_rruleset_roundtripFunction · 0.80

Calls 1

appendMethod · 0.80

Tested by 7

testSetExDateMethod · 0.64
testSetExDateRevOrderMethod · 0.64
testSetDateAndExDateMethod · 0.64
testSetExDateCountMethod · 0.64
test_rrule_roundtripFunction · 0.64
test_rruleset_roundtripFunction · 0.64