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
SystemObject
  DegreeDays.Api.DataBreakdown
    DegreeDays.Api.DataDatedBreakdown
      DegreeDays.Api.Data.ImplCustomBreakdown

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

The CustomBreakdown type exposes the following members.

Constructors
 NameDescription
Public methodCustomBreakdown 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 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 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