Date Time Interval.Subtract Method
Returns an interval shifted to the left by a specified value.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
The interval whose bounds are the difference between the bounds of interval and shift.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static DateTimeInterval Subtract(
DateTimeInterval interval,
TimeSpan shift
)
Parameters
- interval DateTimeInterval
- An DateTimeInterval.
- shift TimeSpan
- A TimeSpan.
Return Value
DateTimeIntervalThe interval whose bounds are the difference between the bounds of interval and shift.