public class Item extends Object
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
getCondition()
Returns the current weather conditions.
|
String |
getDescription()
Returns a simple summary of the current conditions and tomorrow's forecast, in HTML format, including a link to Yahoo! Weather for the full forecast.
|
List<Forecast> |
getForecasts()
Returns the weather forecast for specific days.
|
float |
getGeoLat()
Returns the latitude of the location.
|
float |
getGeoLong()
Returns the longitude of the location.
|
String |
getGuid()
Returns an unique identifier for the forecast, made up of the location ID, the date, and the time.
|
String |
getLink()
Returns the Yahoo! Weather URL for this forecast.
|
Date |
getPubDate()
Returns the date and time this forecast was posted.
|
String |
getTitle()
Returns the forecast title and time, for example "Conditions for New York, NY at 1:51 pm EST".
|
String |
toString() |
public String getTitle()
public String getLink()
public String getDescription()
public String getGuid()
public Date getPubDate()
public float getGeoLat()
public float getGeoLong()
public Condition getCondition()
public List<Forecast> getForecasts()
Copyright © 2016. All rights reserved.