subtractTimeChecked
subtractTimeChecked(
xSeconds,xNanos,ySeconds,yNanos):bigint
subtractTimeChecked performs subtraction with overflow detection of two timestamps.
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
ySeconds
Section titled “ySeconds”bigint
yNanos
Section titled “yNanos”number
Returns
Section titled “Returns”bigint