|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.yahooweather.types.Astronomy
public class Astronomy
Forecast information about current astronomical conditions. Attributes:
Constructor Summary | |
---|---|
Astronomy()
Simple constructor. |
|
Astronomy(java.util.Date sunrise,
java.util.Date sunset)
Constructs a new Astronomy object |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getSunrise()
Time of sunrise |
java.util.Date |
getSunset()
Time of sunset |
int |
hashCode()
|
void |
setSunrise(java.util.Date sunrise)
Time of sunrise |
void |
setSunset(java.util.Date sunset)
Time of sunset |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Astronomy()
public Astronomy(java.util.Date sunrise, java.util.Date sunset)
sunrise
- time of sunrise (from 0ms)sunset
- time of sunset (from 0ms)Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Date getSunrise()
public void setSunrise(java.util.Date sunrise)
sunrise
- ime of sunrise (from 0ms)public java.util.Date getSunset()
public void setSunset(java.util.Date sunset)
sunset
- time of sunset (from 0ms)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |