Returns an interval shifted by a specified value..

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

Syntax

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

Parameters

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

Return Value

The interval whose bounds are the sum of the bounds of interval and shift.