Click or drag to resize

AverageDataSetBuilderSetMonthlyAverage Method

Sets the average value for the specified month (January having index 1).

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public AverageDataSetBuilder SetMonthlyAverage(
	int monthIndexWithJanAs1,
	DataValue monthlyAverage
)

Parameters

monthIndexWithJanAs1  Int32
A number between 1 (for January) and 12 (for December).
monthlyAverage  DataValue
The monthly-average value to set.

Return Value

AverageDataSetBuilder
this, for method chaining.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmonthIndexWithJanAs1 is less than 1 or greater than 12.
ArgumentNullExceptionmonthlyAverage is null.
See Also