Click or drag to resize

DataSpecDated Method

Returns a non-null DatedDataSpec object with the specified Calculation and DatedBreakdown.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public static DatedDataSpec Dated(
	Calculation calculation,
	DatedBreakdown datedBreakdown
)

Parameters

calculation  Calculation
Defines the way in which the degree days should be calculated in terms of their base temperature and whether they should be heating degree days or cooling degree days. Cannot be null.
datedBreakdown  DatedBreakdown
Defines the way in which the data should be broken down and the period that it should cover. Cannot be null.

Return Value

DatedDataSpec
The newly-constructed DatedDataSpec object.
Exceptions
ExceptionCondition
ArgumentNullExceptioncalculation or datedBreakdown is null.
See Also