Searched refs:nanoAdjustment (Results 1 – 1 of 1) sorted by relevance
179 long nanoAdjustment = getNanos() + nanosToAdd; // safe int + NANOS_PER_SECOND in plus() local180 return ofEpochSecond(epochSec, nanoAdjustment); in plus()185 private static Timestamp ofEpochSecond(long epochSecond, long nanoAdjustment) { in ofEpochSecond() argument186 long secs = TimeUtils.checkedAdd(epochSecond, floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond()187 int nos = (int) floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofEpochSecond()