Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 451 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 451 Bytes

SunriseSunset

Java utility which provides methods to determine the sunrise and sunset time of a given location, or if it is currently day or night at a given location.

Also provides methods to convert between Greogrian and Julian dates.

The formulas used by this class are from the Wikipedia articles on [Julian Day] (http://en.wikipedia.org/wiki/Julian_day) and [Sunrise Equation] (http://en.wikipedia.org/wiki/Sunrise_equation).