public class FIODataBlock extends Object
| Constructor and Description |
|---|
FIODataBlock() |
FIODataBlock(com.eclipsesource.json.JsonObject db) |
| Modifier and Type | Method and Description |
|---|---|
int |
datablockSize()
Returns the size of this data block which corresponds to the number of data points present
|
FIODataPoint |
datapoint(int index)
Returns a data point from the this data block
For more information refer to the API Docs:
https://developer.forecast.io
|
String |
getTimezone()
Returns the timezone that is setted.
|
String |
icon()
Returns the icon for the given data block
For more information refer to the API Docs:
https://developer.forecast.io
|
void |
setTimezone(String tz)
Allows to set the timezone.
|
String |
summary()
Returns the summary for the given data block
For more information refer to the API Docs:
https://developer.forecast.io
|
public FIODataBlock()
public FIODataBlock(com.eclipsesource.json.JsonObject db)
public String summary()
public String icon()
public FIODataPoint datapoint(int index)
index - the index to getpublic int datablockSize()
public void setTimezone(String tz)
tz - String with the timezone such as "GMT"public String getTimezone()
Copyright © 2014. All rights reserved.