Searched refs:secsDiff (Results 1 – 1 of 1) sorted by relevance
1157 long secsDiff = Math.subtractExact(end.seconds, seconds); in nanosUntil() local1158 long totalNanos = Math.multiplyExact(secsDiff, NANOS_PER_SECOND); in nanosUntil()1163 long secsDiff = Math.subtractExact(end.seconds, seconds); in secondsUntil() local1165 if (secsDiff > 0 && nanosDiff < 0) { in secondsUntil()1166 secsDiff--; in secondsUntil()1167 } else if (secsDiff < 0 && nanosDiff > 0) { in secondsUntil()1168 secsDiff++; in secondsUntil()1170 return secsDiff; in secondsUntil()