Uses of Class
com.iizix.TemperatureUnit
Packages that use TemperatureUnit Package Description com.iizix Uses of TemperatureUnit in com.iizix
Methods in com.iizix that return TemperatureUnit Modifier and Type Method Description static TemperatureUnit
TemperatureUnit. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TemperatureUnit[]
TemperatureUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.iizix with parameters of type TemperatureUnit Modifier and Type Method Description java.lang.String
LocaleInfo. formatTemperature(double temperature, int decimals, TemperatureUnit unit)
Converts a temperature to a String.java.lang.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.