public void testInterval() throws ParseException {
TimeKvpParser timeKvpParser = new TimeKvpParser("TIME");
List l = new ArrayList((Collection) timeKvpParser.parse(PERIOD));
assertFalse(l.isEmpty());
assertInstant(format.parse("2007-01-01T12Z"), l.get(0));
assertInstant(format.parse("2007-01-03T00Z"), l.get(1));
assertInstant(format.parse("2007-01-04T12Z"), l.get(2));
assertInstant(format.parse("2007-01-06T00Z"), l.get(3));
assertInstant(format.parse("2007-01-07T12Z"), l.get(4));
assertInstant(format.parse("2007-01-09T00Z"), l.get(5));
assertInstant(format.parse("2007-01-10T12Z"), l.get(6));
assertInstant(format.parse("2007-01-12T00Z"), l.get(7));
l = new ArrayList((Collection) timeKvpParser.parse("2007-01-01T12Z/2007-01-01T13Z/PT10M"));
assertFalse(l.isEmpty());
assertEquals(12, l.size());
assertInstant(format.parse("2007-01-01T12Z"), l.get(0));
}