public enum WeatherCode extends java.lang.Enum<WeatherCode>
IWeatherCodeProvider
,
OpenweathermapCodeProvider
,
YahooWeatherCodeProvider
,
WeatherUndergroundCodeProvider
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
getLabel(Context context) |
static WeatherCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeatherCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherCode TORNADO
public static final WeatherCode TROPICAL_STORM
public static final WeatherCode HURRICANE
public static final WeatherCode SEVERE_THUNDERSTORMS
public static final WeatherCode THUNDERSTORMS
public static final WeatherCode MIXED_RAIN_SNOW
public static final WeatherCode MIXED_RAIN_SLEET
public static final WeatherCode MIXED_SNOW_SLEET
public static final WeatherCode FREEZING_DRIZZLE
public static final WeatherCode DRIZZLE
public static final WeatherCode FREEZING_RAIN
public static final WeatherCode SHOWERS
public static final WeatherCode HEAVY_SHOWERS
public static final WeatherCode SNOW_FLURRIES
public static final WeatherCode LIGHT_SNOW_SHOWERS
public static final WeatherCode BLOWING_SNOW
public static final WeatherCode SNOW
public static final WeatherCode HAIL
public static final WeatherCode SLEET
public static final WeatherCode DUST
public static final WeatherCode FOGGY
public static final WeatherCode HAZE
public static final WeatherCode SMOKY
public static final WeatherCode BLUSTERY
public static final WeatherCode WINDY
public static final WeatherCode COLD
public static final WeatherCode CLOUDY
public static final WeatherCode MOSTLY_CLOUDY_NIGHT
public static final WeatherCode MOSTLY_CLOUDY_DAY
public static final WeatherCode PARTLY_CLOUDY_NIGHT
public static final WeatherCode PARTLY_CLOUDY_DAY
public static final WeatherCode CLEAR_NIGHT
public static final WeatherCode SUNNY
public static final WeatherCode FAIR_NIGHT
public static final WeatherCode FAIR_DAY
public static final WeatherCode MIXED_RAIN_AND_HAIL
public static final WeatherCode HOT
public static final WeatherCode ISOLATED_THUNDERSTORMS
public static final WeatherCode SCATTERED_THUNDERSTORMS
public static final WeatherCode SCATTERED_THUNDERSTORMS_1
public static final WeatherCode SCATTERED_SHOWERS
public static final WeatherCode HEAVY_SNOW
public static final WeatherCode SCATTERED_SNOW_SHOWERS
public static final WeatherCode PARTLY_CLOUD
public static final WeatherCode THUNDERSHOWERS
public static final WeatherCode SNOW_SHOWERS
public static final WeatherCode ISOLATED_THUDERSHOWERS
public static final WeatherCode NOT_AVAILABLE
public static WeatherCode[] values()
for (WeatherCode c : WeatherCode.values()) System.out.println(c);
public static WeatherCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public java.lang.String getLabel(Context context)