public static class ForecastWeatherData.Forecast.Sys
extends java.lang.Object
has
and get
methods
to access the information.
has
methods can be used to check
if the data exists, i.e., if the data was available (successfully
downloaded) and was parsed correctly.
get
methods can be used to access the data, if the data
exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
Others: null
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
JSON_SYS_POD
Key for JSON variable
Sys -> Pod |
private java.lang.String |
pod
Pod
|
Constructor and Description |
---|
ForecastWeatherData.Forecast.Sys()
Non-parameterized constructor
|
ForecastWeatherData.Forecast.Sys(org.json.JSONObject jsonObj)
Parameterized constructor
Initializes variables from values from the given JSON object.
|
private final java.lang.String JSON_SYS_POD
Sys -> Pod
private final java.lang.String pod
public ForecastWeatherData.Forecast.Sys()
Initializes variables as per following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
Others: null
public ForecastWeatherData.Forecast.Sys(org.json.JSONObject jsonObj)
jsonObj
- JSON object containing data about sys.
For example, pod, etc.