Class Wind
- java.lang.Object
-
- com.rometools.modules.yahooweather.types.Wind
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Wind extends Object implements Serializable, Cloneable
Units for various aspects of the forecast. Attributes:- temperature: degree units, f for Fahrenheit or c for Celsius (character)
- distance: units for distance, mi for miles or km for kilometers (string)
- pressure: units of barometric pressure, in for pounds per square inch or mb for millibars (string)
- speed: units of speed, mph for miles per hour or kph for kilometers per hour (string)
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleanequals(Object o)intgetChill()Wind chill adjusted temperature.intgetDirection()Direction of wind in degreesintgetSpeed()Speed of windinthashCode()voidsetChill(int chill)Wind chill adjusted temperature.voidsetDirection(int direction)Direction of wind in degreesvoidsetSpeed(int speed)Speed of windStringtoString()
-
-
-
Method Detail
-
getChill
public int getChill()
Wind chill adjusted temperature.- Returns:
- int temperature value
- See Also:
Units
-
setChill
public void setChill(int chill)
Wind chill adjusted temperature.- Parameters:
chill- int temperature value- See Also:
Units
-
getDirection
public int getDirection()
Direction of wind in degrees- Returns:
- int direction of wind.
-
setDirection
public void setDirection(int direction)
Direction of wind in degrees- Parameters:
direction- int direction of wind.
-
getSpeed
public int getSpeed()
Speed of wind- Returns:
- int speed of wind
- See Also:
Units
-
setSpeed
public void setSpeed(int speed)
Speed of wind- Parameters:
speed- int speed of wind- See Also:
Units
-
-