NextLunarEclipse
NextLunarEclipse(Timetime)
Finds the next lunar eclipse after the supplied time. The method checks the cache converts the time to Julian form asks Swiss Ephemeris to search forward for the next lunar eclipse reads the time of maximum eclipse from the result array converts that Julian value back into a normal UTC DateTime.
Parameters
| Name | Type | Description |
|---|---|---|
time |
Time |
The time from which to begin the forward search. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/NextLunarEclipse
Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.
Loading try-it widget…