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 current (incomplete) month, including time-series-data values for the current (incomplete) day. It also makes it possible to fetch monthly degree-day data that includes a DatedDataValue for the current month so far (a partial month). See AllowPartialLatest for more on how it works.

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