|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.degreedays.api.data.TemperatureUnit
public final class TemperatureUnit
Defines the units of temperature measurement with constants to represent Celsius and Fahrenheit.
Field Summary | |
---|---|
static TemperatureUnit |
CELSIUS
For the Celsius temperature scale. |
static TemperatureUnit |
FAHRENHEIT
For the Fahrenheit temperature scale. |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes. |
static TemperatureUnit[] |
values()
Returns an array of the available TemperatureUnit values. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TemperatureUnit CELSIUS
public static final TemperatureUnit FAHRENHEIT
Method Detail |
---|
public java.lang.String toString()
The exact details of the representation are unspecified and subject to change.
toString
in class java.lang.Object
public static TemperatureUnit[] values()
TemperatureUnit
values.
The returned array can be modified freely without affecting the arrays returned by past, concurrent, or future calls to this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |