DateTimeInterval.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.4
C#
public static DateTimeInterval operator -(
	DateTimeInterval interval,
	TimeSpan shift
)

Parameters

interval  DateTimeInterval
An DateTimeInterval.
shift  TimeSpan
A TimeSpan.

Return Value

DateTimeInterval
The interval whose bounds are the difference between the bounds of interval and shift.

See Also