/sqlxml/src/main/java/net/time4j/xml/XMLAdapter.java
if ( nano <= 0) {
if ( nano != 0 ) {
BigDecimal fraction = source.getFractionalSecond(); if (fraction != null) { nano = fraction.movePointRight(9).intValue(); } PlainTimestamp tsp = PlainTimestamp.of(year, month, dom, hour, minute, second); <extra_id_0> tsp = tsp.with(PlainTime.NANO_OF_SECOND, nano); } return tsp; } @Override public XMLGregorianCalendar from(PlainTimestamp tsp) {