DateTimeInterval.Addition Operator

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

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

Addition(DateTimeInterval, TimeSpan) Operator

Returns an interval shifted by a specified value..
C#
public static DateTimeInterval operator +(
	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.

Addition(TimeSpan, DateTimeInterval) Operator

Returns an interval shifted by a specified value..
C#
public static DateTimeInterval operator +(
	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