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.java828 int nanosToSubtract = duration.getNano(); in minus() local
830 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() argument
937 …return (nanosToSubtract == Long.MIN_VALUE ? plusNanos(Long.MAX_VALUE).plusNanos(1) : plusNanos(-na… in minusNanos()
DInstant.java1021 public Instant minusNanos(long nanosToSubtract) { in minusNanos() argument
1022 if (nanosToSubtract == Long.MIN_VALUE) { in minusNanos()
1025 return plusNanos(-nanosToSubtract); in minusNanos()
DLocalTime.java1260 public LocalTime minusNanos(long nanosToSubtract) { in minusNanos() argument
1261 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