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

Method testStrValueDatetime

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

Source from the content-addressed store, hash-verified

2992 datetime(1998, 12, 31, 9, 0)])
2993
2994 def testStrValueDatetime(self):
2995 rr = rrulestr("DTSTART;VALUE=DATE-TIME:19970902T090000\n"
2996 "RRULE:FREQ=YEARLY;COUNT=2")
2997
2998 self.assertEqual(list(rr), [datetime(1997, 9, 2, 9, 0, 0),
2999 datetime(1998, 9, 2, 9, 0, 0)])
3000
3001 def testStrValueDate(self):
3002 rr = rrulestr("DTSTART;VALUE=DATE:19970902\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected