Click or drag to resize

YearlyBreakdown(Period, StartOfYear) Constructor

Constructs a YearlyBreakdown object that specifies yearly degree days covering the specified period in time, with each "year" starting on the specified day of the year.

Namespace: DegreeDays.Api.Data.Impl
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public YearlyBreakdown(
	Period period,
	StartOfYear startOfYear
)

Parameters

period  Period
The period in time that the yearly breakdown should cover. Cannot be null.
startOfYear  StartOfYear
Specifying which day of the year (month and day of the month) should be taken as the first of each "year". Pass new StartOfYear(1, 1) to specify regular calendar years.
Exceptions
ExceptionCondition
ArgumentNullExceptionperiod is null.
See Also