Click or drag to resize

DataSpecTimeSeries Method

Returns a non-null TimeSeriesDataSpec object with the specified TimeSeriesCalculation and DatedBreakdown.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public static TimeSeriesDataSpec TimeSeries(
	TimeSeriesCalculation timeSeriesCalculation,
	DatedBreakdown datedBreakdown
)

Parameters

timeSeriesCalculation  TimeSeriesCalculation
Defines how the time-series data should be calculated (e.g. specifying hourly temperature data, in Celsius). Cannot be null.
datedBreakdown  DatedBreakdown
Defines the period of time that the time-series data should cover (read more about how this works in the remarks for TimeSeriesDataSpec). Cannot be null.

Return Value

TimeSeriesDataSpec
The newly-constructed TimeSeriesDataSpec object.
Exceptions
ExceptionCondition
ArgumentNullExceptiontimeSeriesCalculation or datedBreakdown is null.
Version History
VersionDescription
1.2 This was added in version 1.2.
See Also