Converts this duration to the total length _in nanoseconds expressed as a {@code long}.
!(p)
If this duration is too large to fit _in a {@code long} nanoseconds, then an
exception is thrown.
@return the total length of the duration _in nanoseconds
@throws ArithmeticException if numeric overflow occurs
Converts this duration to the total length _in nanoseconds expressed as a {@code long}. !(p) If this duration is too large to fit _in a {@code long} nanoseconds, then an exception is thrown.
@return the total length of the duration _in nanoseconds @throws ArithmeticException if numeric overflow occurs