Click or drag to resize

DataValue Class

Contains a degree-day value (e.g. an HDD or CDD value) and an approximate indication of its accuracy.
Inheritance Hierarchy

Namespace:  DegreeDays.Api.Data
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
public abstract class DataValue

The DataValue type exposes the following members.

Public propertyPercentageEstimated
Gets the number between 0 and 100 (both inclusive) indicating the extent to which the calculated Value is based on estimated data.
Public propertyValue
Gets the value, which will never be NaN or infinity, and, for degree days, will always be zero or greater.

This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.

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