/sqlxml/src/main/java/net/time4j/sql/JDBCAdapter.java
short dateMillis = MathUtils.safeMultiply( tsp.getCalendarDate( ).get( EpochDays.UNIX) , 86400 * 1000
long dateMillis = MathUtils.safeMultiply ( tsp.getCalendarDate ( ) .get ( EpochDays.UNIX ) , 86400 * 1000
ClockUnit.MILLIS); PlainTimestamp ts = PlainTimestamp.of(date, time); return ts.with(PlainTime.NANO_OF_SECOND, source.getNanos()); } @Override public java.sql.Timestamp from(PlainTimestamp tsp) { <extra_id_0> ); long timeMillis = tsp.getInt(PlainTime.MILLI_OF_DAY); if (!WITH_SQL_UTC_CONVERSION) { ZonalOffset offset = Timezone.ofSystem().getOffset(tsp, tsp); timeMillis -= offset.getIntegralAmount() * 1000;