This is preliminary documentation and is subject to change.

DateTimeRangeExtend Method

Extends the Start and/or End by the specified timeSpan

Definition

Namespace: MoreDateTime
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
public DateTimeRange Extend(
	TimeSpan timeSpan,
	RangeDirection direction
)

Parameters

timeSpan  TimeSpan
The time span.
direction  RangeDirection
The direction in which to extend

Return Value

DateTimeRange

See Also