public final class HeatingDegreeDaysCalculation extends Calculation implements java.io.Serializable
Calculation that specifies that heating degree days should
 be calculated and that holds the base temperature that they should be
 calculated to.Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
| Constructor and Description | 
|---|
HeatingDegreeDaysCalculation(Temperature baseTemperature)
Constructs a  
HeatingDegreeDaysCalculation object with the
 specified base temperature. | 
| Modifier and Type | Method and Description | 
|---|---|
Temperature | 
baseTemperature()
Returns the non-null base temperature of the heating-degree-days
 calculation. 
 | 
java.lang.String | 
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes. 
 | 
coolingDegreeDays, equals, hashCode, heatingDegreeDayspublic HeatingDegreeDaysCalculation(Temperature baseTemperature)
HeatingDegreeDaysCalculation object with the
 specified base temperature.baseTemperature - the base temperature that the heating degree days
        should be calculated to. Cannot be null.java.lang.NullPointerException - if baseTemperature is
         null.public Temperature baseTemperature()
public java.lang.String toString()
The exact details of the representation are unspecified and subject to change.
toString in class java.lang.Object
See www.degreedays.net/api/ for more about the Degree Days.net API.
You can sign up for a Degree Days.net API account and read the integration guide that is useful and applicable whether you are using Java or not.