Searched refs:totalNanos (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 538 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/ |
D | Duration.java | 1180 long totalNanos = Math.multiplyExact(seconds, NANOS_PER_SECOND); in toNanos() local 1181 totalNanos = Math.addExact(totalNanos, nanos); in toNanos() 1182 return totalNanos; in toNanos()
|
D | Instant.java | 1158 long totalNanos = Math.multiplyExact(secsDiff, NANOS_PER_SECOND); in nanosUntil() local 1159 return Math.addExact(totalNanos, end.nanos - nanos); in nanosUntil()
|