Searched refs:nanosToSubtract (Results 1 – 4 of 4) sorted by relevance
828 int nanosToSubtract = duration.getNano(); in minus() local830 return plus(Long.MAX_VALUE, -nanosToSubtract).plus(1, 0); in minus()832 return plus(-secsToSubtract, -nanosToSubtract); in minus()936 public Duration minusNanos(long nanosToSubtract) { in minusNanos() argument937 …return (nanosToSubtract == Long.MIN_VALUE ? plusNanos(Long.MAX_VALUE).plusNanos(1) : plusNanos(-na… in minusNanos()
1021 public Instant minusNanos(long nanosToSubtract) { in minusNanos() argument1022 if (nanosToSubtract == Long.MIN_VALUE) { in minusNanos()1025 return plusNanos(-nanosToSubtract); in minusNanos()
1260 public LocalTime minusNanos(long nanosToSubtract) { in minusNanos() argument1261 return plusNanos(-(nanosToSubtract % NANOS_PER_DAY)); in minusNanos()
245 public java.time.Duration minusNanos(long nanosToSubtract) { in minusNanos() argument