Returns an interval shifted to the left by a specified value.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Operator - ( _
	interval As DateTimeInterval, _
	shift As TimeSpan _
) As DateTimeInterval
C#
public static DateTimeInterval operator - (
	DateTimeInterval interval,
	TimeSpan shift
)
C++
public:
static DateTimeInterval operator - (
	DateTimeInterval interval, 
	TimeSpan shift
)

Parameters

interval (Extreme.Statistics.DateTimeInterval)
An DateTimeInterval.
shift (System.TimeSpan)
A TimeSpan.

Return Value

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