Searched refs:epochSec (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
D | Ser.java | 252 static void writeEpochSec(long epochSec, DataOutput out) throws IOException { in writeEpochSec() argument 253 …if (epochSec >= -4575744000L && epochSec < 10413792000L && epochSec % 900 == 0) { // quarter hour… in writeEpochSec() 254 int store = (int) ((epochSec + 4575744000L) / 900); in writeEpochSec() 260 out.writeLong(epochSec); in writeEpochSec()
|
D | ZoneRules.java | 508 long epochSec = instant.getEpochSecond(); in getOffset() local 511 epochSec > savingsInstantTransitions[savingsInstantTransitions.length - 1]) { in getOffset() 512 int year = findYear(epochSec, wallOffsets[wallOffsets.length - 1]); in getOffset() 517 if (epochSec < trans.toEpochSecond()) { in getOffset() 525 int index = Arrays.binarySearch(savingsInstantTransitions, epochSec); in getOffset() 779 long epochSec = instant.getEpochSecond(); in getStandardOffset() local 780 int index = Arrays.binarySearch(standardTransitions, epochSec); in getStandardOffset() 865 long epochSec = instant.getEpochSecond(); in nextTransition() local 867 if (epochSec >= savingsInstantTransitions[savingsInstantTransitions.length - 1]) { in nextTransition() 872 int year = findYear(epochSec, wallOffsets[wallOffsets.length - 1]); in nextTransition() [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | Instant.java | 918 long epochSec = Math.addExact(seconds, secondsToAdd); in plus() local 919 epochSec = Math.addExact(epochSec, nanosToAdd / NANOS_PER_SECOND); in plus() 922 return ofEpochSecond(epochSec, nanoAdjustment); in plus()
|
D | Duration.java | 812 long epochSec = Math.addExact(seconds, secondsToAdd); in plus() local 813 epochSec = Math.addExact(epochSec, nanosToAdd / NANOS_PER_SECOND); in plus() 816 return ofSeconds(epochSec, nanoAdjustment); in plus()
|