Click or drag to resize

DatedDataSet Class

Contains a set of dated data (e.g. daily/weekly/monthly degree days) generated to fulfil a DatedDataSpec for a specific Location.
Inheritance Hierarchy
SystemObject
  DegreeDays.Api.DataDataSetBase
    DegreeDays.Api.DataDatedDataSet

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public sealed class DatedDataSet : DataSetBase

The DatedDataSet type exposes the following members.

Properties
 NameDescription
Public propertyFullRange Gets the DayRange indicating the period of time that is covered by this DatedDataSet's Values.
(Overrides DataSetBaseFullRange)
Public propertyPercentageEstimated Gets the number between 0 and 100 (both inclusive) indicating the overall extent to which this data set is based on estimated data.
(Overrides DataSetBasePercentageEstimated)
Public propertyValues Gets the non-null, non-empty, chronologically-ordered list of DatedDataValue objects that make up this DatedDataSet.
Top
Methods
 NameDescription
Public methodEquals Returns true if obj is a DatedDataSet containing equal values covering equal dates, and with an equal PercentageEstimated.
(Overrides ObjectEquals(Object))
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode)
Public methodToString Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString)
Top
Remarks

See DatedDataSpec for example code showing how to fetch a DatedDataSet of degree days from the API.

Thread Safety
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
See Also