* Compares the dates obtained by parsing the time parameter with the expected values.
*
* @throws ParseException if the string can't be parsed.
*/
public void testInterval() throws ParseException {
TimeKvpParser timeKvpParser = new TimeKvpParser("TIME");
List l = (List) timeKvpParser.parse(PERIOD);
// Verify that the list contains at least one element.
assertFalse(l.isEmpty());
assertEquals(format.parse("2007-01-01T12Z"), l.get(0));
assertEquals(format.parse("2007-01-03T00Z"), l.get(1));
assertEquals(format.parse("2007-01-04T12Z"), l.get(2));