Addition operators
Declared in <bdlt_date.h>
Return the date that is later by numDays from the specified date.
bdlt::Date
operator+(
int numDays,
Date const& date);
» more...
Return the date that is later by numDays from the specified date.
bdlt::Date
operator+(
Date const& date,
int numDays);
» more...
Return the sum of a datetime and a datetime interval.
bdlt::Datetime
operator+(
Datetime const& lhs,
DatetimeInterval const& rhs);
» more...
Return the sum of a datetime and a time interval.
bdlt::Datetime
operator+(
Datetime const& lhs,
bsls::TimeInterval const& rhs);
» more...
Return the sum of a datetime interval and a datetime.
bdlt::Datetime
operator+(
DatetimeInterval const& lhs,
Datetime const& rhs);
» more...
Return the sum of the specified lhs and rhs time intervals.
bdlt::DatetimeInterval
operator+(
DatetimeInterval const& lhs,
DatetimeInterval const& rhs);
» more...
Return a Time value that is the sum of the specified lhs datetime interval and the specified rhs time.
bdlt::Time
operator+(
DatetimeInterval const& lhs,
Time const& rhs);
» more...
Return a Time value that is the sum of the specified lhs time and the specified rhs datetime interval.
bdlt::Time
operator+(
Time const& lhs,
DatetimeInterval const& rhs);
» more...
Return the sum of a time interval and a datetime.
bdlt::Datetime
operator+(
bsls::TimeInterval const& lhs,
Datetime const& rhs);
» more...
numDays from dateDatetime that is the sum of the operandslhs and rhsTime value that is the sum of lhs and rhs| Name | Description |
|---|---|
| numDays | signed number of days to add |
| date | base date |
| lhs | datetime operand |
| rhs | datetime interval to add |