Searched refs:nanosToSubtract (Results 1 – 4 of 4) sorted by relevance
830 int nanosToSubtract = duration.getNano(); in minus() local832 return plus(Long.MAX_VALUE, -nanosToSubtract).plus(1, 0); in minus()834 return plus(-secsToSubtract, -nanosToSubtract); in minus()938 public Duration minusNanos(long nanosToSubtract) { in minusNanos() argument939 …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()
1283 public LocalTime minusNanos(long nanosToSubtract) { in minusNanos() argument1284 return plusNanos(-(nanosToSubtract % NANOS_PER_DAY)); in minusNanos()
245 public java.time.Duration minusNanos(long nanosToSubtract) { in minusNanos() argument