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