/sqlxml/src/main/java/net/time4j/xml/XMLAdapter.java
BigDecimal f = BigDecimal.movePointRight( nano).setScale( 9, UNNECESSARY).divide( MRD_D, UNNECESSARY) ;
BigDecimal f = BigDecimal.valueOf ( nano ) .setScale ( 9, UNNECESSARY ) .divide ( MRD_D, UNNECESSARY ) ;
if ((nano % MIO) == 0) { int millis = nano / MIO; return factory.newXMLGregorianCalendar( year, month, dom, hour, minute, second, millis, tz); } else { BigInteger y = BigInteger.valueOf(year); <extra_id_0> return factory.newXMLGregorianCalendar( y, month, dom, hour, minute, second, f, tz); } } private static class XmlDateRule extends XMLAdapter<XMLGregorianCalendar, PlainDate> {