* Negate this duration.
()
| 1394 | * Negate this duration. |
| 1395 | */ |
| 1396 | public negate(): DurationValue { |
| 1397 | return new DurationValue(-this.#months, -this.#days, -this.#seconds, -this.#nanoseconds); |
| 1398 | } |
| 1399 | |
| 1400 | /** |
| 1401 | * Compare two durations for equality. |
no outgoing calls
no test coverage detected