Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DInstant.java872 public Instant plusSeconds(long secondsToAdd) { in plusSeconds() argument
873 return plus(secondsToAdd, 0); in plusSeconds()
915 private Instant plus(long secondsToAdd, long nanosToAdd) { in plus() argument
916 if ((secondsToAdd | nanosToAdd) == 0) { in plus()
919 long epochSec = Math.addExact(seconds, secondsToAdd); in plus()
DDuration.java767 public Duration plusSeconds(long secondsToAdd) { in plusSeconds() argument
768 return plus(secondsToAdd, 0); in plusSeconds()
807 private Duration plus(long secondsToAdd, long nanosToAdd) { in plus() argument
808 if ((secondsToAdd | nanosToAdd) == 0) { in plus()
811 long epochSec = Math.addExact(seconds, secondsToAdd); in plus()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java201 public java.time.Duration plusSeconds(long secondsToAdd) { in plusSeconds() argument
213 private java.time.Duration plus(long secondsToAdd, long nanosToAdd) { in plus() argument