inWholeNanoseconds
The value of this duration expressed as a Long number of nanoseconds.
If the result doesn't fit in the range of Long type, it is coerced into that range:
- Long.MIN_VALUE is returned if it's less than
Long.MIN_VALUE
, - Long.MAX_VALUE is returned if it's greater than
Long.MAX_VALUE
.
An infinite duration value is converted either to Long.MAX_VALUE or Long.MIN_VALUE depending on its sign.