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

Method testStrSetExDateValueDateTimeNoTZID

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

Source from the content-addressed store, hash-verified

2883 datetime(1997, 9, 16, 9, 0, tzinfo=BXL)]
2884
2885 def testStrSetExDateValueDateTimeNoTZID(self):
2886 rrstr = '\n'.join([
2887 "DTSTART:19970902T090000",
2888 "RRULE:FREQ=YEARLY;COUNT=4;BYDAY=TU,TH",
2889 "EXDATE;VALUE=DATE-TIME:19970902T090000",
2890 "EXDATE;VALUE=DATE-TIME:19970909T090000",
2891 ])
2892
2893 rr = rrulestr(rrstr)
2894 assert list(rr) == [datetime(1997, 9, 4, 9), datetime(1997, 9, 11, 9)]
2895
2896 def testStrSetExDateValueMixDateTimeNoTZID(self):
2897 rrstr = '\n'.join([

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected