Searched refs:epochSec (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRules.java | 483 long epochSec = instant.getEpochSecond(); in getOffset() local 486 epochSec > savingsInstantTransitions[savingsInstantTransitions.length - 1]) { in getOffset() 487 int year = findYear(epochSec, wallOffsets[wallOffsets.length - 1]); in getOffset() 492 if (epochSec < trans.toEpochSecond()) { in getOffset() 500 int index = Arrays.binarySearch(savingsInstantTransitions, epochSec); in getOffset() 754 long epochSec = instant.getEpochSecond(); in getStandardOffset() local 755 int index = Arrays.binarySearch(standardTransitions, epochSec); in getStandardOffset() 840 long epochSec = instant.getEpochSecond(); in nextTransition() local 842 if (epochSec >= savingsInstantTransitions[savingsInstantTransitions.length - 1]) { in nextTransition() 847 int year = findYear(epochSec, wallOffsets[wallOffsets.length - 1]); in nextTransition() [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 919 long epochSec = Math.addExact(seconds, secondsToAdd); in plus() local 920 epochSec = Math.addExact(epochSec, nanosToAdd / NANOS_PER_SECOND); in plus() 923 return ofEpochSecond(epochSec, nanoAdjustment); in plus()
|
D | Duration.java | 811 long epochSec = Math.addExact(seconds, secondsToAdd); in plus() local 812 epochSec = Math.addExact(epochSec, nanosToAdd / NANOS_PER_SECOND); in plus() 815 return ofSeconds(epochSec, nanoAdjustment); in plus()
|
D | LocalDate.java | 220 long epochSec = now.getEpochSecond() + offset.getTotalSeconds(); // overflow caught later in now() local 221 long epochDay = Math.floorDiv(epochSec, SECONDS_PER_DAY); in now()
|