addTimeDurationChecked
addTimeDurationChecked(
xSeconds,xNanos,durationNanos):object
addTimeDurationChecked performs addition with overflow detection of a timestamp and duration.
If the operation fails due to overflow the error is thrown.
Parameters
Section titled “Parameters”xSeconds
Section titled “xSeconds”bigint
xNanos
Section titled “xNanos”number
durationNanos
Section titled “durationNanos”bigint
Returns
Section titled “Returns”object
nanos:
number
seconds
Section titled “seconds”seconds:
bigint