public class HourlyForecast extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HourlyForecast.Builder
Build an hourly forecast.
|
Constructor and Description |
---|
HourlyForecast(DateTime time,
int tempC,
int tempF,
int windspeedMiles,
int windspeedKPH,
int winddirDegree,
String winddir16Point,
int weatherCode,
String weatherDesc,
String weatherIconUrl,
float precipMM,
int humidity,
int visibility,
int pressureMb,
int cloudcover,
int heatIndexC,
int heatIndexF,
int dewPointC,
int dewPointF,
int windChillC,
int windChillF,
int windGustMiles,
int windGustKmph,
int feelsLikeC,
int feelsLikeF,
int chanceOfRain,
int chanceOfWindy,
int chanceOfOvercast,
int chanceOfSunny,
int chanceOfFrost,
int chanceOfFog,
int chanceofSnow,
int chanceOfThunder,
int chanceOfRemdry,
int chanceOfHightemp) |
Modifier and Type | Method and Description |
---|---|
int |
getChanceOfFog()
Predicted chance of fog as an integer percent (between 0 and 100).
|
int |
getChanceOfFrost()
Predicted chance of frost as an integer percent (between 0 and 100).
|
int |
getChanceOfHightemp()
Predicted chance of high temperatures as an integer percent (between 0
and 100).
|
int |
getChanceOfOvercast()
Predicted chance of overcast as an integer percent (between 0 and 100).
|
int |
getChanceOfRain()
Predicted chance of rain as an integer percent (between 0 and 100).
|
int |
getChanceOfRemdry()
Predicted chance of remaining dry as an integer percent (between 0 and
100).
|
int |
getChanceofSnow()
Predicted chance of snow as an integer percent (between 0 and 100).
|
int |
getChanceOfSunny()
Predicted chance of sunny as an integer percent (between 0 and 100).
|
int |
getChanceOfThunder()
Predicted chance of thunder as an integer percent (between 0 and 100).
|
int |
getChanceOfWindy()
Predicted chance of wind as an integer percent (between 0 and 100).
|
int |
getCloudcover()
Predicted cloud cover as an integer percent (between 0 and 100)
|
int |
getDewPointC()
Predicted dew point, °C.
|
int |
getDewPointF()
Predicted dew point, °F.
|
int |
getFeelsLikeC()
Predicted "Feels Like" or apparent temperature °C.
|
int |
getFeelsLikeF()
Predicted "Feels Like" or apparent temperature °F.
|
int |
getHeatIndexC()
Predicted heat index, °C.
|
int |
getHeatIndexF()
Predicted heat index, °F.
|
int |
getHumidity()
Predicted relative humidity as an integer percent (between 0 and 100).
|
float |
getPrecipMM()
Predicted precipitation in mm.
|
int |
getPressure()
Predicted atmospheric pressure in millibar.
|
int |
getTempC()
Predicted air temperature, °C.
|
int |
getTempF()
Predicted air temperature, °F.
|
DateTime |
getTime()
Hour that the forecast is for, UTC.
|
int |
getVisibility()
Predicted visibility in kilometres (between 0 and 10).
|
int |
getWeatherCode()
(Arbitrary) code to describe the predicted weather.
|
String |
getWeatherDesc()
Human readable string to describe the predicted leather.
|
String |
getWeatherIconUrl()
URL to an icon for the predicted weather.
|
int |
getWindChillC()
Predicted wind chill, °C.
|
int |
getWindChillF()
Predicted wind chill, °C.
|
String |
getWinddir16Point()
Predicted wind direction as compass point.
|
int |
getWinddirDegree()
Predicted wind direction in degrees from North.
|
int |
getWindGustKmph()
Predicted wind gust speeds, kilometres per hour.
|
int |
getWindGustMiles()
Predicted wind gust speeds, miles per hour.
|
int |
getWindspeedKmph()
Current wind speed in kilometres per hour.
|
int |
getWindspeedMiles()
Current wind speed in miles per hour.
|
public HourlyForecast(DateTime time, int tempC, int tempF, int windspeedMiles, int windspeedKPH, int winddirDegree, String winddir16Point, int weatherCode, String weatherDesc, String weatherIconUrl, float precipMM, int humidity, int visibility, int pressureMb, int cloudcover, int heatIndexC, int heatIndexF, int dewPointC, int dewPointF, int windChillC, int windChillF, int windGustMiles, int windGustKmph, int feelsLikeC, int feelsLikeF, int chanceOfRain, int chanceOfWindy, int chanceOfOvercast, int chanceOfSunny, int chanceOfFrost, int chanceOfFog, int chanceofSnow, int chanceOfThunder, int chanceOfRemdry, int chanceOfHightemp)
public DateTime getTime()
public int getTempC()
public int getTempF()
public int getWindspeedMiles()
public int getWindspeedKmph()
public int getWinddirDegree()
public String getWinddir16Point()
public int getWeatherCode()
public String getWeatherDesc()
public String getWeatherIconUrl()
public float getPrecipMM()
public int getHumidity()
public int getVisibility()
public int getPressure()
public int getCloudcover()
public int getHeatIndexC()
public int getHeatIndexF()
public int getDewPointC()
public int getDewPointF()
public int getWindChillC()
public int getWindChillF()
public int getWindGustMiles()
public int getWindGustKmph()
public int getFeelsLikeC()
public int getFeelsLikeF()
public int getChanceOfRain()
public int getChanceOfWindy()
public int getChanceOfOvercast()
public int getChanceOfSunny()
public int getChanceOfFrost()
public int getChanceOfFog()
public int getChanceofSnow()
public int getChanceOfThunder()
public int getChanceOfRemdry()
public int getChanceOfHightemp()
Copyright © 2015. All rights reserved.