public static class WeatherConditions.Static
Modifier and Type | Method and Description |
---|---|
String |
getDescription(int conditionId)
Tells description of weather condition.
|
int |
getIconCode(int conditionId)
Tells non-day/night icon code for a weather condition.
|
String |
getIconDayCode(int iconCode)
Tells day icon code for a weather condition.
|
String |
getIconDayLink(int iconCode)
Tells day icon's link for a weather condition.
|
String |
getIconLink(String iconName)
Tells day/night icon code for a weather condition.
|
String |
getIconLink(int iconCode,
boolean isDay)
Tells day/night icon link for a weather condition.
|
String |
getIconNightCode(int iconCode)
Tells night icon code for a weather condition.
|
String |
getIconNightLink(int iconCode)
Tells night icon's link for a weather condition.
|
public String getDescription(int conditionId)
Tells description of weather condition.
conditionId
- Id of weather condition.public int getIconCode(int conditionId)
Tells non-day/night icon code for a weather condition.
conditionId
- Id of weather condition.public String getIconLink(String iconName)
Tells day/night icon code for a weather condition.
public String getIconLink(int iconCode, boolean isDay)
Tells day/night icon link for a weather condition.
iconCode
- Non-day/night icon code for a weather condition.isDay
- Is it day or not, for which icon is needed?public String getIconDayCode(int iconCode)
Tells day icon code for a weather condition.
iconCode
- Non-day/night icon code for a weather condition.public String getIconNightCode(int iconCode)
Tells night icon code for a weather condition.
iconCode
- Non-day/night icon code for a weather condition.public String getIconDayLink(int iconCode)
Tells day icon's link for a weather condition.
iconCode
- Non-day/night icon code for a weather condition.public String getIconNightLink(int iconCode)
Tells night icon's link for a weather condition.
iconCode
- Non-day/night icon code for a weather condition.