/libcore/ojluni/src/main/java/java/time/temporal/ |
D | Temporal.java | 369 default Temporal minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 370 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 754 public Year minus(TemporalAmount amountToSubtract) { in minus() argument 755 return (Year) amountToSubtract.subtractFrom(this); in minus() 778 public Year minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 779 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | ZonedDateTime.java | 1798 public ZonedDateTime minus(TemporalAmount amountToSubtract) { in minus() argument 1799 if (amountToSubtract instanceof Period) { in minus() 1800 Period periodToSubtract = (Period) amountToSubtract; in minus() 1803 Objects.requireNonNull(amountToSubtract, "amountToSubtract"); in minus() 1804 return (ZonedDateTime) amountToSubtract.subtractFrom(this); in minus() 1841 public ZonedDateTime minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 1842 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | LocalDateTime.java | 1359 public LocalDateTime minus(TemporalAmount amountToSubtract) { in minus() argument 1360 if (amountToSubtract instanceof Period) { in minus() 1361 Period periodToSubtract = (Period) amountToSubtract; in minus() 1364 Objects.requireNonNull(amountToSubtract, "amountToSubtract"); in minus() 1365 return (LocalDateTime) amountToSubtract.subtractFrom(this); in minus() 1388 public LocalDateTime minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 1389 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | YearMonth.java | 873 public YearMonth minus(TemporalAmount amountToSubtract) { in minus() argument 874 return (YearMonth) amountToSubtract.subtractFrom(this); in minus() 897 public YearMonth minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 898 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | LocalDate.java | 1370 public LocalDate minus(TemporalAmount amountToSubtract) { in minus() argument 1371 if (amountToSubtract instanceof Period) { in minus() 1372 Period periodToSubtract = (Period) amountToSubtract; in minus() 1375 Objects.requireNonNull(amountToSubtract, "amountToSubtract"); in minus() 1376 return (LocalDate) amountToSubtract.subtractFrom(this); in minus() 1399 public LocalDate minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 1400 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | Instant.java | 948 public Instant minus(TemporalAmount amountToSubtract) { in minus() argument 949 return (Instant) amountToSubtract.subtractFrom(this); in minus() 972 public Instant minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 973 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | OffsetTime.java | 962 public OffsetTime minus(TemporalAmount amountToSubtract) { in minus() argument 963 return (OffsetTime) amountToSubtract.subtractFrom(this); in minus() 986 public OffsetTime minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 987 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | OffsetDateTime.java | 1350 public OffsetDateTime minus(TemporalAmount amountToSubtract) { in minus() argument 1351 return (OffsetDateTime) amountToSubtract.subtractFrom(this); in minus() 1374 public OffsetDateTime minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 1375 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | LocalTime.java | 1198 public LocalTime minus(TemporalAmount amountToSubtract) { in minus() argument 1199 return (LocalTime) amountToSubtract.subtractFrom(this); in minus() 1222 public LocalTime minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 1223 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | Duration.java | 852 public Duration minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 853 …return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amou… in minus()
|
D | Period.java | 708 public Period minus(TemporalAmount amountToSubtract) { in minus() argument 709 Period isoAmount = Period.from(amountToSubtract); in minus()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 482 default ChronoLocalDate minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 483 …urn ChronoLocalDateImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract, unit)); in minus()
|
D | ChronoPeriod.java | 224 ChronoPeriod minus(TemporalAmount amountToSubtract); in minus() argument
|
D | ChronoLocalDateTime.java | 311 default ChronoLocalDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 312 …ChronoLocalDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract, unit)); in minus()
|
D | ChronoLocalDateImpl.java | 224 public D minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 225 return (D) ChronoLocalDate.super.minus(amountToSubtract, unit); in minus()
|
D | ChronoZonedDateTime.java | 458 default ChronoZonedDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 459 …ChronoZonedDateTimeImpl.ensureValid(getChronology(), Temporal.super.minus(amountToSubtract, unit)); in minus()
|
D | ChronoPeriodImpl.java | 186 public ChronoPeriod minus(TemporalAmount amountToSubtract) { in minus() argument 187 ChronoPeriodImpl amount = validateAmount(amountToSubtract); in minus()
|
D | HijrahDate.java | 556 public HijrahDate minus(long amountToSubtract, TemporalUnit unit) { in minus() argument 557 return super.minus(amountToSubtract, unit); in minus()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 313 public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount amountToSubtract) { in minus() argument 318 long amountToSubtract, java.time.temporal.TemporalUnit unit) { in minus() argument
|
D | Duration.java | 221 public java.time.Duration minus(long amountToSubtract, java.time.temporal.TemporalUnit unit) { in minus() argument
|