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 latest incomplete year so far, including time-series-data values for the latest incomplete day so far (usually today for real-world weather stations with quick updates). It also makes it possible to fetch yearly degree-day data that includes a DatedDataValue for the latest incomplete year so far. See AllowPartialLatest for more on how it works.

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