Returns an interval shifted by a specified value..

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

Syntax

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

Parameters

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

Return Value

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