Click or drag to resize

DatedBreakdownYearly(Period, StartOfYear) Method

Returns a non-null 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
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public static YearlyBreakdown Yearly(
	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.

Return Value

YearlyBreakdown
The newly-constructed YearlyBreakdown object.
Exceptions
ExceptionCondition
ArgumentNullExceptionperiod is null.
See Also