Crate moon_calc

Source

Structs§

Moon
Represents information about the moon, including its julian date, phase, age, illumination, distance, and lunation.
Phase
Represents a lunar phase with name, emoji and start and end fractions.

Constants§

DISTANCE_OFFSET
The offset for the lunar distance calculations.
DISTANCE_PERIOD
The period of the lunar distance in days.
EARTH_RADIUS_KM
The mean radius of the Earth in kilometers.
LUNATION_BASE
The base value for calculating lunation.
ORBIT_OFFSET
The offset for the lunar orbit calculations.
ORBIT_PERIOD
The period of the lunar orbit in days.
PHASES