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.ImplAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public LatestValuesPeriod(
int numberOfValues
)
Public Sub New (
numberOfValues As Integer
)
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 See Also