0.04
No commit activity in last 3 years
No release in over 3 years
Calculate the sunrise/sunset given lat/long coordinates and the date. Computes civil, official, nautical, and astronomical sunrise/sunset.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Ruby Sunrise

Description:

Ruby Sunrise calculates the civil, official, nautical and astronomical sunrise/sunset given latitude/longitude coordinates and the date.

Features:

Handles the condition of no sunrise/sunset (Alaska in summer/winter) by returning a nil object.

Dependencies:

Ruby Sunrise depends on the 'tzinfo' gem for localizing the computed sunrise/sunset times.

Installation:

gem install RubySunrise