String expect = "2004-01-14T03:12:07Z";
assertEquals(expect, got);
cal = getCalendar(TimeZone.getTimeZone("GMT-03:00"));
assertEquals(0, cal.get(Calendar.MILLISECOND));
got = format.format(cal);
expect = "2004-01-14T03:12:07-03:00";
assertEquals(expect, got);
}
public void testParseDateTime() throws ParseException {