Date Time Interval.Addition Operator
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Addition( | Returns an interval shifted by a specified value.. |
Addition( | Returns an interval shifted by a specified value.. |
Addition(DateTimeInterval, TimeSpan) Operator
Returns an interval shifted by a specified value..
public static DateTimeInterval operator +(
DateTimeInterval interval,
TimeSpan shift
)
Parameters
- interval DateTimeInterval
- An DateTimeInterval.
- shift TimeSpan
- A TimeSpan.
Return Value
DateTimeIntervalThe interval whose bounds are the sum of the bounds of interval and shift.
Addition(TimeSpan, DateTimeInterval) Operator
Returns an interval shifted by a specified value..
public static DateTimeInterval operator +(
TimeSpan shift,
DateTimeInterval interval
)
Parameters
- shift TimeSpan
- A TimeSpan.
- interval DateTimeInterval
- An DateTimeInterval.
Return Value
DateTimeIntervalThe interval whose bounds are the sum of the bounds of interval and shift.