|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Forecast
public class Forecast
The weather forecast for a specific day.
| Constructor Summary | |
|---|---|
Forecast()
|
|
Forecast(WeekDay day,
Date date,
int low,
int high,
String text,
int code)
|
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the condition code for this forecast. |
Date |
getDate()
Returns the date to which this forecast applies. |
WeekDay |
getDay()
Returns the day of the week to which this forecast applies. |
int |
getHigh()
Returns the forecasted high temperature for this day, in the units specified by the unit field in the Channel class. |
int |
getLow()
Returns the forecasted low temperature for this day, in the units specified by the unit field in the Channel class. |
String |
getText()
Returns a textual description of conditions, for example, "Partly Cloudy" |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Forecast()
public Forecast(WeekDay day,
Date date,
int low,
int high,
String text,
int code)
day - date - low - high - text - code - | Method Detail |
|---|
public WeekDay getDay()
public Date getDate()
public int getLow()
Channel class.
public int getHigh()
Channel class.
public String getText()
public int getCode()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||