PeriodLatestValues Method |
Returns a non-null
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.DataAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public static LatestValuesPeriod LatestValues(
int numberOfValues
)
Public Shared Function LatestValues (
numberOfValues As Integer
) As LatestValuesPeriod
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.
Return Value
LatestValuesPeriodThe newly-created
LatestValuesPeriod object.
Exceptions See Also