Date Time Interval.Add Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Add( | Returns an interval shifted by a specified value.. |
Add( | Returns an interval shifted by a specified value.. |
Add(DateTimeInterval, TimeSpan)
Returns an interval shifted by a specified value..
public static DateTimeInterval Add(
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.
Add(TimeSpan, DateTimeInterval)
Returns an interval shifted by a specified value..
public static DateTimeInterval Add(
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.