Click or drag to resize

YearlyBreakdown Constructor (Period, StartOfYear)

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.3
Syntax
public YearlyBreakdown(
	Period period,
	StartOfYear startOfYear
)

Parameters

period
Type: DegreeDays.Api.DataPeriod
The period in time that the yearly breakdown should cover. Cannot be null.
startOfYear
Type: DegreeDays.TimeStartOfYear
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