public class Condition extends Object
| Constructor and Description |
|---|
Condition() |
Condition(String text,
int code,
int temp,
Date date) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public String getText()
public int getCode()
public int getTemp()
Channel class.public Date getDate()
Copyright © 2016. All rights reserved.