/sqlxml/src/main/java/net/time4j/xml/XMLAdapter.java
short year = date.getYear( ) ;
int year = date.getYear ( ) ;
} else { return PlainDate.of(year, month, dom); } } @Override public XMLGregorianCalendar from(PlainDate date) { <extra_id_0> int month = date.getMonth(); int dom = date.getDayOfMonth(); DatatypeFactory factory = getXMLFactory(); return factory.newXMLGregorianCalendarDate( year, month, dom, DatatypeConstants.FIELD_UNDEFINED); }