Searched refs:secondsToAdd (Results 1 – 3 of 3) sorted by relevance
871 public Instant plusSeconds(long secondsToAdd) { in plusSeconds() argument872 return plus(secondsToAdd, 0); in plusSeconds()914 private Instant plus(long secondsToAdd, long nanosToAdd) { in plus() argument915 if ((secondsToAdd | nanosToAdd) == 0) { in plus()918 long epochSec = Math.addExact(seconds, secondsToAdd); in plus()
768 public Duration plusSeconds(long secondsToAdd) { in plusSeconds() argument769 return plus(secondsToAdd, 0); in plusSeconds()808 private Duration plus(long secondsToAdd, long nanosToAdd) { in plus() argument809 if ((secondsToAdd | nanosToAdd) == 0) { in plus()812 long epochSec = Math.addExact(seconds, secondsToAdd); in plus()
201 public java.time.Duration plusSeconds(long secondsToAdd) { in plusSeconds() argument213 private java.time.Duration plus(long secondsToAdd, long nanosToAdd) { in plus() argument