public final class TemperatureTimeSeriesCalculation extends TimeSeriesCalculation implements java.io.Serializable
TimeSeriesCalculation that specifies that temperature data
 should be calculated with the specified interval (e.g. hourly) and unit
 (e.g. Celsius).
 
 Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
| Constructor and Description | 
|---|
TemperatureTimeSeriesCalculation(TimeSeriesInterval interval,
                                TemperatureUnit temperatureUnit)
Constructs a  
TimeSeriesCalculation object with the specified
 interval and temperature unit. | 
| Modifier and Type | Method and Description | 
|---|---|
TemperatureUnit | 
temperatureUnit()
Returns the non-null  
TemperatureUnit indicating whether the
 temperatures should be calculated in Celsius or Fahrenheit. | 
java.lang.String | 
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes. 
 | 
equals, hashCode, hourlyTemperature, intervalpublic TemperatureTimeSeriesCalculation(TimeSeriesInterval interval, TemperatureUnit temperatureUnit)
TimeSeriesCalculation object with the specified
 interval and temperature unit.interval - specifies the interval (e.g. hourly) that the time-series
        data should be calculated with. Cannot be null.temperatureUnit - specifies whether the data should be calculated in
        Celsius or Fahrenheit. Cannot be null.java.lang.NullPointerException - if interval or
         temperatureUnit is null.public TemperatureUnit temperatureUnit()
TemperatureUnit indicating whether the
 temperatures should be calculated in Celsius or Fahrenheit.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.