public class WeatherUtility
extends java.lang.Object
| Constructor and Description |
|---|
WeatherUtility() |
| Modifier and Type | Method and Description |
|---|---|
static BaseWeather.WeatherUnit |
createWeatherUnit(WeatherConfig.UNIT_SYSTEM unit) |
static boolean |
isMetric(WeatherConfig.UNIT_SYSTEM currentUnit) |
static float |
string2Float(java.lang.String value) |
public static BaseWeather.WeatherUnit createWeatherUnit(WeatherConfig.UNIT_SYSTEM unit)
public static boolean isMetric(WeatherConfig.UNIT_SYSTEM currentUnit)
public static float string2Float(java.lang.String value)