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.java538 long totalNanos = Math.multiplyExact(hod, 3600_000_000_000L); in resolveTime() local
539 totalNanos = Math.addExact(totalNanos, Math.multiplyExact(moh, 60_000_000_000L)); in resolveTime()
540 totalNanos = Math.addExact(totalNanos, Math.multiplyExact(som, 1_000_000_000L)); in resolveTime()
541 totalNanos = Math.addExact(totalNanos, nos); in resolveTime()
542 int excessDays = (int) Math.floorDiv(totalNanos, 86400_000_000_000L); // safe int cast in resolveTime()
543 long nod = Math.floorMod(totalNanos, 86400_000_000_000L); in resolveTime()
/libcore/ojluni/src/main/java/java/time/
DDuration.java1214 long totalNanos = Math.multiplyExact(seconds, NANOS_PER_SECOND); in toNanos() local
1215 totalNanos = Math.addExact(totalNanos, nanos); in toNanos()
1216 return totalNanos; in toNanos()
DInstant.java1158 long totalNanos = Math.multiplyExact(secsDiff, NANOS_PER_SECOND); in nanosUntil() local
1159 return Math.addExact(totalNanos, end.nanos - nanos); in nanosUntil()