|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Condition
public class Condition
Weather conditions.
| Constructor Summary | |
|---|---|
Condition()
|
|
Condition(String text,
int code,
int temp,
Date date)
|
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the condition code for this forecast. |
Date |
getDate()
Returns the current date and time for which this forecast applies. |
int |
getTemp()
Returns the current temperature, in the units specified by the units field of 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 Condition()
public Condition(String text,
int code,
int temp,
Date date)
text - code - temp - date - | Method Detail |
|---|
public String getText()
public int getCode()
public int getTemp()
Channel class.
public Date getDate()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||