Click or drag to resize

YearlyBreakdownWithAllowPartialLatest Method

Returns a YearlyBreakdown with the same Period and StartOfYear as this, but with the AllowPartialLatest property set to the specified value.

Namespace: DegreeDays.Api.Data.Impl
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public YearlyBreakdown WithAllowPartialLatest(
	bool allowPartialLatest
)

Parameters

allowPartialLatest  Boolean
true to specify that the latest year of data can be partially filled (i.e. incomplete), or false if the latest year must be complete (the default behaviour).

Return Value

YearlyBreakdown
Remarks

The AllowPartialLatest property makes it possible to fetch time-series data (like hourly temperature data) that includes the current (incomplete) year, including time-series-data values for the current (incomplete) day. It also makes it possible to fetch yearly degree-day data that includes a DatedDataValue for the current year so far (a partial year). See AllowPartialLatest for more on how it works.

Version History
VersionDescription
1.3 This was added in version 1.3.
See Also