Home
last modified time | relevance | path

Searched refs:secsDiff (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DInstant.java1157 long secsDiff = Math.subtractExact(end.seconds, seconds); in nanosUntil() local
1158 long totalNanos = Math.multiplyExact(secsDiff, NANOS_PER_SECOND); in nanosUntil()
1163 long secsDiff = Math.subtractExact(end.seconds, seconds); in secondsUntil() local
1165 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()