xtd 0.2.0
Loading...
Searching...
No Matches

◆ add()

time_span xtd::time_span::add ( const time_span ts) const
noexcept

Returns a new xtd::time_span object whose value is the sum of the specified xtd::time_span object and this instance.

Parameters
tsThe time interval to add.
Returns
A new object that represents the value of this instance plus the value of ts.
Remarks
The return value is a new xtd::time_span; the original xtd::time_span is not modified.