Date Time Interval.Subtract Method
Returns an interval shifted to the left by a specified value.
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The interval whose bounds are the difference between the bounds of interval and shift.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.