Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/format/
DParsed.java596 long totalNanos = Math.multiplyExact(hod, 3600_000_000_000L); in resolveTime() local
597 totalNanos = Math.addExact(totalNanos, Math.multiplyExact(moh, 60_000_000_000L)); in resolveTime()
598 totalNanos = Math.addExact(totalNanos, Math.multiplyExact(som, 1_000_000_000L)); in resolveTime()
599 totalNanos = Math.addExact(totalNanos, nos); in resolveTime()
600 int excessDays = (int) Math.floorDiv(totalNanos, 86400_000_000_000L); // safe int cast in resolveTime()
601 long nod = Math.floorMod(totalNanos, 86400_000_000_000L); in resolveTime()
/libcore/ojluni/src/main/java/java/time/
DDuration.java1215 long totalNanos = Math.multiplyExact(seconds, NANOS_PER_SECOND); in toNanos() local
1216 totalNanos = Math.addExact(totalNanos, nanos); in toNanos()
1217 return totalNanos; in toNanos()
DInstant.java1156 long totalNanos = Math.multiplyExact(secsDiff, NANOS_PER_SECOND); in nanosUntil() local
1157 return Math.addExact(totalNanos, end.nanos - nanos); in nanosUntil()