horizon-0.1.1: Sunrise and sunset UTC approximations from latitude and longitude coordinates

Safe HaskellNone
LanguageHaskell2010

Data.Time.Horizon

Synopsis

Documentation

sunrise :: Day -> LongitudeWest -> LatitudeNorth -> UTCTime Source

Returns an approximated UTC time of the sunrise on the given UTC day at the given location.

sunset :: Day -> LongitudeWest -> LatitudeNorth -> UTCTime Source

Returns an approximated UTC time of the sunset on the given UTC day at the given location.