Click or drag to resize

CustomBreakdown Class

A type of DatedBreakdown used to specify that degree days should be broken down into the custom date ranges specified e.g. to match the dates of your energy-usage records.
Inheritance Hierarchy

Namespace:  DegreeDays.Api.Data.Impl
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
Syntax
public sealed class CustomBreakdown : DatedBreakdown

The CustomBreakdown type exposes the following members.

Constructors
  NameDescription
Public methodCustomBreakdown(DayRanges)
Constructs a CustomBreakdown object that specifies degree days broken down to match the DayRanges passed in.
Top
Properties
  NameDescription
Public propertyAllowPartialLatest
Returns true if the latest day range can be partially filled (i.e. incomplete); false otherwise (the default case).
(Inherited from DatedBreakdown.)
Public propertyDayRanges
Gets the non-null DayRanges that specifies the dates that each degree-day figure should cover.
Top
Methods
  NameDescription
Public methodEquals(Object)
Two Breakdown objects are equal if they have the same class and the same configuration.
(Inherited from Breakdown.)
Public methodGetHashCode
Overridden to ensure consistency with Equals.
(Inherited from Breakdown.)
Public methodToString
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString.)
Public methodWithAllowPartialLatest(Boolean)
Returns a CustomBreakdown with the same DayRanges as this, but with the AllowPartialLatest property set to the specified value.
Top
Thread Safety
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
Version History
VersionDescription
1.2 This was added in version 1.2.
See Also