mirror of
https://github.com/acamarata/moon-sighting.git
synced 2026-07-01 03:14:24 +00:00
882 B
882 B
moon-sighting / getSunMoonEvents
Function: getSunMoonEvents()
getSunMoonEvents(
date,observer,options?):Promise<SunMoonEvents>
Defined in: api/index.ts:833
Get rise, set, and twilight times for the Sun and Moon on a given date.
Requires initKernels() for accurate results.
Parameters
date
Date
Date to compute events for
observer
Observer location
options?
Pick<SightingOptions, "kernels">
Optional kernel configuration
Returns
Promise<SunMoonEvents>
SunMoonEvents with all times in UTC