Add the specified number of days to this time interval.
Synopsis
Declared in <bsls_timeinterval.h>
constexpr
TimeInterval&
addDays(bsls::Types::Int64 days);
Description
Add to this time interval the number of seconds represented by the specified integral number of days, and return a reference providing modifiable access to this object. The behavior is undefined unless the number of seconds in days, and the total number of seconds in the resulting time interval, can both be represented with 64‐bit signed integers. Note that days may be negative.
Return Value
a reference providing modifiable access to this object
Parameters
Name |
Description |
days |
days to add |
Created with MrDocs