Click or drag to resize

LatestValuesPeriod Constructor

Constructs a LatestValuesPeriod object that automatically resolves to a date range including the latest available data and the specified number of degree-day values.

Namespace: DegreeDays.Api.Data.Impl
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public LatestValuesPeriod(
	int numberOfValues
)

Parameters

numberOfValues  Int32
A number, greater than zero, that specifies how many degree-day values the period should cover (see these remarks on how the values in question can be daily, weekly, monthly, or yearly). This is effectively an upper bound: if there isn't enough good data to cover the numberOfValues specified, the API will assemble and return what it can.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionnumberOfValues is less than or equal to zero.
See Also