com.github.fedy2.weather.data
Class Astronomy

java.lang.Object
  extended by com.github.fedy2.weather.data.Astronomy

public class Astronomy
extends Object

Information about astronomical conditions.

Author:
"Federico De Faveri defaveri@gmail.com"

Constructor Summary
Astronomy()
           
Astronomy(Time sunrise, Time sunset)
           
 
Method Summary
 Time getSunrise()
          Returns the today's sunrise time.
 Time getSunset()
          Returns today's sunset time.
 String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Astronomy

public Astronomy()

Astronomy

public Astronomy(Time sunrise,
                 Time sunset)
Parameters:
sunrise -
sunset -
Method Detail

getSunrise

public Time getSunrise()
Returns the today's sunrise time.

Returns:
the sunrise

getSunset

public Time getSunset()
Returns today's sunset time.

Returns:
the sunset

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013. All rights reserved.