Set this time interval to have the value given by the sum of the specified integral number of seconds, and the optionally specified integral number of nanoseconds, where seconds and nanoseconds form a canonical representation of a time interval (see {Representation}). If unspecified, nanoseconds is 0. The behavior is undefined unless ‐999,999,999 <= nanoseconds <= +999,999,999 and seconds and nanoseconds are either both non‐negative or both non‐positive. Note that this function provides a subset of the defined behavior of setInterval chosen to minimize runtime performance cost.
Synopsis
Declared in <bsls_timeinterval.h>
constexpr
void
setIntervalRaw(
bsls::Types::Int64 seconds,
int nanoseconds = 0);
Created with MrDocs