v2.12
Backports from v3.5:
- Add moon phase constants for
WAXING_CRESCENT
,WAXING_GIBBOUS
,WANING_GIBBOUS
,WANING_CRESCENT
. (Thanks to @mslalith for the pointer.) - New method
MoonPhase.Phase.toPhase()
converts a moon phase angle to the closest constant. - New method
MoonIllumination.getClosestPhase()
returns the closest moon phase constant of an illumination result.