DateTimeInterval.Add Method

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Add(DateTimeInterval, TimeSpan) Returns an interval shifted by a specified value..
Add(TimeSpan, DateTimeInterval) Returns an interval shifted by a specified value..

Add(DateTimeInterval, TimeSpan)

Returns an interval shifted by a specified value..
C#
public static DateTimeInterval Add(
	DateTimeInterval interval,
	TimeSpan shift
)

Parameters

interval  DateTimeInterval
An DateTimeInterval.
shift  TimeSpan
A TimeSpan.

Return Value

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

Add(TimeSpan, DateTimeInterval)

Returns an interval shifted by a specified value..
C#
public static DateTimeInterval Add(
	TimeSpan shift,
	DateTimeInterval interval
)

Parameters

shift  TimeSpan
A TimeSpan.
interval  DateTimeInterval
An DateTimeInterval.

Return Value

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

See Also