public class FIODataPoint extends Object
| Constructor and Description |
|---|
FIODataPoint() |
FIODataPoint(com.eclipsesource.json.JsonObject dp) |
| Modifier and Type | Method and Description |
|---|---|
Double |
apparentTemperature()
The apparent temperature at the given time using the units defined
in the class ForecastIO.
|
Double |
apparentTemperatureMax()
The maximum apparent temperature expected for a given day the units defined
in the class ForecastIO.
|
String |
apparentTemperatureMaxTime()
The time at which the apparent maximum temperature is expected to occur.
|
Double |
apparentTemperatureMin()
The minimum apparent temperature expected for a given day the units defined
in the class ForecastIO.
|
String |
apparentTemperatureMinTime()
The time at with the minimum apparent temperature is expected to occur.
|
Double |
cloudCover()
A numerical value between 0 and 1 (inclusive) representing
the percentage of sky occluded by clouds.
|
Double |
cloudCoverError()
A numerical the percentage of sky occluded by clouds error.
|
Double |
dewPoint()
The dew point for a given time with the units defined
in the class ForecastIO.
|
Double |
dewPointError()
The dew point error for a given time with the units defined
in the class ForecastIO.
|
String |
getByKey(String key)
Return the data point field with the corresponding key
|
String |
getFields()
Returns a String with all the Forecast.io field's available
in this data point.
|
String[] |
getFieldsArray()
Returns a String array with all the Forecast.io fields available
in this data point.
|
String |
getTimezone()
Allows to get the timezone in use
|
Double |
humidity()
A numerical value representing the relative humidity error.
|
Double |
humidityError()
A numerical value between 0 and 1 (inclusive)
representing the relative humidity.
|
String |
icon()
Returns a machine-readable text summary of the data point,
suitable for selecting an icon for display.
|
Double |
nearestStormBearing()
Nesrest Storm Bearing
For more information refer to the API Docs:
https://developer.forecast.io
|
Double |
nearestStormDistance()
Nesrest Storm Distance
For more information refer to the API Docs:
https://developer.forecast.io
|
Double |
ozone()
A numerical value representing the columnar density of total atmospheric
ozone at the given time in Dobson units.
|
Double |
precipAccumulation()
The amount of snow fall accumulation expected to occur on the given day.
|
Double |
precipIntensity()
A numerical value representing the average expected intensity.
|
Double |
precipIntensityMax()
A numerical values representing the maximum
expected intensity of precipitation.
|
String |
precipIntensityMaxTime()
A numerical values representing the time at which the maximum
expected intensity of precipitation occurs.
|
Double |
precipProbability()
A numerical value between 0 and 1 (inclusive) representing
the probability of precipitation occuring at the given time.
|
String |
precipType()
A string representing the type of precipitation occurring at the given time.
|
Double |
pressure()
A numerical value with the sea level pressure with the units defined
in the class ForecastIO.
|
Double |
pressureError()
A numerical value with the sea level pressure error with the units defined
in the class ForecastIO.
|
void |
setTimezone(String tz)
Allows to set the timezone.
|
String |
summary()
Returns a human-readable text summary of the data point.
|
String |
sunriseTime()
Returns the sunset time for the given day.
|
String |
sunsetTime()
Returns the sunrise time for the given day.
|
Double |
temperature()
The temperature at the given time using the units defined
in the class ForecastIO.
|
Double |
temperatureError()
The temperature error at the given time using the units defined
in the class ForecastIO.
|
Double |
temperatureMax()
The maximum temperature expected for a given day the units defined
in the class ForecastIO.
|
Double |
temperatureMaxError()
The maximum temperature error expected for a given day the units defined
in the class ForecastIO.
|
String |
temperatureMaxTime()
The time at which the maximum temperature is expected to occur.
|
Double |
temperatureMin()
The minimum temperature expected for a given day the units defined
in the class ForecastIO.
|
Double |
temperatureMinError()
The minimum temperature error expected for a given day the units defined
in the class ForecastIO.
|
String |
temperatureMinTime()
The time at with the minimum temperature is expected to occur.
|
String |
time()
Returns the time at which this data point occurs.
|
Double |
visibility()
A numerical value with the average visibility with the units defined
in the class ForecastIO.
|
Double |
visibilityError()
A numerical value with the visibility error with the units defined
in the class ForecastIO.
|
Double |
windBearing()
The wind direction for a given time in degrees.
|
Double |
windBearingError()
The wind direction error for a given time in degrees.
|
Double |
windSpeed()
The wind speed for a given time with the units defined
in the class ForecastIO.
|
Double |
windSpeedError()
The wind speed error for a given time with the units defined
in the class ForecastIO.
|
public FIODataPoint()
public FIODataPoint(com.eclipsesource.json.JsonObject dp)
public String getFields()
Stringpublic String[] getFieldsArray()
public void setTimezone(String tz)
tz - String with the timezone such as "GMT"public String getTimezone()
public String getByKey(String key)
key - name of the field in the data pointpublic String time()
public String summary()
public String icon()
public String sunriseTime()
public String sunsetTime()
public Double precipIntensity()
public Double precipIntensityMax()
public String precipIntensityMaxTime()
public Double precipProbability()
public String precipType()
public Double precipAccumulation()
public Double temperature()
public Double temperatureError()
public Double temperatureMin()
public Double temperatureMinError()
public String temperatureMinTime()
public Double temperatureMax()
public Double temperatureMaxError()
public String temperatureMaxTime()
public Double apparentTemperature()
public Double apparentTemperatureMin()
public String apparentTemperatureMinTime()
public Double apparentTemperatureMax()
public String apparentTemperatureMaxTime()
public Double dewPoint()
public Double dewPointError()
public Double windSpeed()
public Double windSpeedError()
public Double windBearing()
public Double windBearingError()
public Double cloudCover()
public Double cloudCoverError()
public Double humidity()
public Double humidityError()
public Double pressure()
public Double pressureError()
public Double visibility()
public Double visibilityError()
public Double ozone()
public Double nearestStormBearing()
public Double nearestStormDistance()
Copyright © 2014. All rights reserved.