(Duration other)
| 48 | } |
| 49 | |
| 50 | public Duration plus(Duration other) { |
| 51 | return ofSeconds(seconds + other.seconds, nanos + other.nanos); |
| 52 | } |
| 53 | |
| 54 | public Duration minus(Duration other) { |
| 55 | return ofSeconds(seconds - other.seconds, nanos - other.nanos); |