'Test parsing of date/time strings'

def testParsing(self):

    c = S3Calendar()
    assertEqual = self.assertEqual
    parse = c.calendar._parse
    tt = parse('2005-04-01T00:00:03', '%Y-%m-%dT%H:%M:%S')
    assertEqual(tt[:6], (2005, 4, 1, 0, 0, 3))
    tt = parse('01/04/05', '%d/%m/%y')
    assertEqual(tt[:6], (2005, 4, 1, 0, 0, 0))
    tt = parse('15:34', '%H:%M')
    assertEqual(tt, (1900, 1, 1, 15, 34, 0))
