Date Time Interval.Subtraction Operator
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.2
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.2
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 difference between the bounds of interval and shift.