Add the specified number of nanoseconds to this time interval.
Declared in <bsls_timeinterval.h>
TimeInterval&
addNanoseconds(bsls::Types::Int64 nanoseconds);
Add to this time interval the specified integral number of nanoseconds, and return a reference providing modifiable access to this object. The behavior is undefined unless the total number of seconds in the resulting time interval can be represented with a 64-bit signed integer. Note that nanoseconds may be negative.
a reference providing modifiable access to this object
| Name | Description |
|---|---|
| nanoseconds | nanoseconds to add |