|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TemperatureUnit | |
---|---|
net.degreedays.api.data | For specifying and receiving degree-day data from the API. |
Uses of TemperatureUnit in net.degreedays.api.data |
---|
Fields in net.degreedays.api.data declared as TemperatureUnit | |
---|---|
static TemperatureUnit |
TemperatureUnit.CELSIUS
For the Celsius temperature scale. |
static TemperatureUnit |
TemperatureUnit.FAHRENHEIT
For the Fahrenheit temperature scale. |
Methods in net.degreedays.api.data that return TemperatureUnit | |
---|---|
TemperatureUnit |
Temperature.unit()
Returns the non-null unit of this temperature. |
static TemperatureUnit[] |
TemperatureUnit.values()
Returns an array of the available TemperatureUnit values. |
Constructors in net.degreedays.api.data with parameters of type TemperatureUnit | |
---|---|
Temperature(double value,
TemperatureUnit unit)
Constructs a Temperature object with the specified units and
value (rounded to the nearest 0.1 degrees). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |