/sqlxml/src/main/java/net/time4j/sql/JDBCAdapter.java
PlainDate date = PlainDate.of( ) ;
PlainDate date = PlainDate.of ( MathUtils.floorDivide ( millis, 86400 * 1000 ) , EpochDays.UNIX ) ;
Moment.of( MathUtils.floorDivide(millis, 1000), TimeScale.POSIX); ZonalOffset offset = Timezone.ofSystem().getOffset(unixTime); millis += offset.getIntegralAmount() * 1000; } <extra_id_0> PlainTime time = PlainTime.of(0).plus( MathUtils.floorModulo(millis, 86400 * 1000), ClockUnit.MILLIS); PlainTimestamp ts = PlainTimestamp.of(date, time); return ts.with(PlainTime.NANO_OF_SECOND, source.getNanos());