Registry / utility / rubysunrise

rubysunrise

JSON →
library0.3.3rbrubygemsunverified

Calculates sunrise and sunset times for given latitude, longitude, and date, including civil, official, nautical, and astronomical phases.

gem install RubySunrise
INSTALL
IMPORT
SIG · RUBYSUNRISE
R
rubysunrise
utilityrubyv0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RubySunrise
require 'rubysunrise'

Get today's sunrise time for New York City

require 'rubysunrise' sunrise = RubySunrise.sunrise(latitude: 40.7128, longitude: -74.0060, date: Date.today) puts sunrise
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rubysunrise — gem install rubysunrise · libregistry