java.lang.Object | |
↳ | cyanogenmod.weather.util.WeatherUtils |
Helper class to perform operations and formatting of weather data
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts a temperature expressed in degrees Celsius to degrees Fahrenheit
| |||||||||||
Converts a temperature expressed in degrees Fahrenheit to degrees Celsius
| |||||||||||
Returns a string representation of the temperature and unit supplied.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Converts a temperature expressed in degrees Celsius to degrees Fahrenheit
celsius | temperature in Celsius |
---|
Converts a temperature expressed in degrees Fahrenheit to degrees Celsius
fahrenheit | temperature in Fahrenheit |
---|
Returns a string representation of the temperature and unit supplied. The temperature value will be half-even rounded.
temperature | the temperature value |
---|---|
tempUnit | A valid WeatherContract.WeatherColumns.TempUnit |