Uses of Enum Class
com.iizix.TemperatureUnit
Uses of TemperatureUnit in com.iizix
Modifier and TypeMethodDescriptionstatic TemperatureUnit
Returns the enum constant of this class with the specified name.static TemperatureUnit[]
TemperatureUnit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionLocaleInfo.formatTemperature
(double temperature, int decimals, TemperatureUnit unit) Converts a temperature to a String.LocaleInfo.formatTemperature
(float temperature, int decimals, TemperatureUnit unit) Converts a temperature to a String.double
TemperatureUnit.toType
(double temperature, TemperatureUnit unit) Converts the temperature of the current temperature unit to the requested temperature unit type.float
TemperatureUnit.toType
(float temperature, TemperatureUnit unit) Converts the temperature of the current temperature unit to the requested temperature unit type.