Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type LatitudeNorth = Double
- type LongitudeWest = Double
- sunrise :: Day -> LongitudeWest -> LatitudeNorth -> UTCTime
- sunset :: Day -> LongitudeWest -> LatitudeNorth -> UTCTime
Documentation
type LatitudeNorth = Double Source
type LongitudeWest = Double Source
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.