XsdGDay extends Datatype<GregorianCalendar> { public String getCanonicalRepresentation() { return Iso8601Parser.getCanonicalRepresentation(getValue(), false, false, true, false, true); } XsdGDay(String s); GregorianCalendar getValue(); String getCanonicalRepresentation(); static final Resource DT; }
@Test public void test() throws DatatypeParseException { assertEquals("---12+05:00", new XsdGDay("---12+05:00").getCanonicalRepresentation()); }