Click or drag to resize

CustomBreakdownWithAllowPartialLatest Method

Returns a CustomBreakdown with the same DayRanges 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 CustomBreakdown WithAllowPartialLatest(
	bool allowPartialLatest
)

Parameters

allowPartialLatest  Boolean
true to specify that the latest available day range (of the DayRanges specified) can be partially filled (i.e. incomplete), or false if the latest available day range must be complete (the default behaviour).

Return Value

CustomBreakdown
Remarks

The AllowPartialLatest property makes it possible to fetch time-series data (like hourly temperature data) that includes time-series-data values for the current (incomplete) day. It also makes it possible to fetch custom degree-day data that includes a DatedDataValue for the latest specified day range that is partially (but not yet fully) available. See AllowPartialLatest for more on how it works.

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