(
long amount,
CalendarUnit unit
)
| 1352 | * @since 4.19 |
| 1353 | */ |
| 1354 | public PlainTimestamp minus( |
| 1355 | long amount, |
| 1356 | CalendarUnit unit |
| 1357 | ) { |
| 1358 | |
| 1359 | return this.plus(Math.negateExact(amount), unit); |
| 1360 | |
| 1361 | } |
| 1362 | |
| 1363 | /** |
| 1364 | * <p>Subtracts given amount in units from this timestamp and yields the result of subtraction. </p> |