DateTimeInterval.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.3
C#
public static DateTimeInterval Subtract(
	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