/sqlxml/src/main/java/net/time4j/xml/XMLAdapter.java
if ( fraction == null) {
if ( fraction != null ) {
second = 0; } else if (globalContext && (second == 60)) { second = 59; } int nano = 0; BigDecimal fraction = source.getFractionalSecond(); <extra_id_0> nano = fraction.movePointRight(9).intValue(); } PlainTimestamp tsp = PlainTimestamp.of(year, month, dom, hour, minute, second); if (nano != 0) { tsp = tsp.with(PlainTime.NANO_OF_SECOND, nano);