Click or drag to resize

DayRangesCreate(DayRange) Method

Returns a non-null DayRanges object containing the specified DayRange items.

Namespace: DegreeDays.Time
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public static DayRanges Create(
	params DayRange[] dayRangeItems
)

Parameters

dayRangeItems  DayRange
A chronologically-ordered array of non-overlapping DayRange items. Cannot be null and cannot be empty.

Return Value

DayRanges
Exceptions
ExceptionCondition
ArgumentNullExceptiondayRangeItems is null.
ArgumentExceptiondayRangeItems is empty, or if any of the DayRange items within it overlap or are not in chronological order.
See Also