Click or drag to resize

MonthlyBreakdownWithAllowPartialLatest Method

Returns a MonthlyBreakdown with the same Period and StartOfMonth 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 MonthlyBreakdown WithAllowPartialLatest(
	bool allowPartialLatest
)

Parameters

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

Return Value

MonthlyBreakdown
Remarks

The AllowPartialLatest property makes it possible to fetch time-series data (like hourly temperature data) that includes the latest incomplete month 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 monthly degree-day data that includes a DatedDataValue for the latest incomplete month so far. See AllowPartialLatest for more on how it works.

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