Home
last modified time | relevance | path

Searched refs:nanosToSubtract (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DDuration.java831 int nanosToSubtract = duration.getNano(); in minus() local
833 return plus(Long.MAX_VALUE, -nanosToSubtract).plus(1, 0); in minus()
835 return plus(-secsToSubtract, -nanosToSubtract); in minus()
939 public Duration minusNanos(long nanosToSubtract) { in minusNanos() argument
940 …return (nanosToSubtract == Long.MIN_VALUE ? plusNanos(Long.MAX_VALUE).plusNanos(1) : plusNanos(-na… in minusNanos()
DInstant.java1020 public Instant minusNanos(long nanosToSubtract) { in minusNanos() argument
1021 if (nanosToSubtract == Long.MIN_VALUE) { in minusNanos()
1024 return plusNanos(-nanosToSubtract); in minusNanos()
DLocalTime.java1283 public LocalTime minusNanos(long nanosToSubtract) { in minusNanos() argument
1284 return plusNanos(-(nanosToSubtract % NANOS_PER_DAY)); in minusNanos()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java245 public java.time.Duration minusNanos(long nanosToSubtract) { in minusNanos() argument