}
@Test
public void testFormat() {
JdtFormat format = new JdtFormat(new Iso8601JdtFormatter(), "YYYY+DD+MM");
JDateTime jdt = new JDateTime(2002, 2, 22);
assertEquals("2002+22+02", jdt.toString(format));
assertEquals(format.convert(jdt), jdt.toString(format));
}