Click or drag to resize

WeeklyBreakdownWithAllowPartialLatest Method

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

Parameters

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

Return Value

WeeklyBreakdown
Remarks

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

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