LunarPhase

sealed interface LunarPhase

A LunarPhase is a specific shape of the moon's sunlit portion. There are Primary moon phases which are described by LunarPhase.Primary.phase and Intermediate moon phases which are described by LunarPhase.Intermediate.angleRange

See Lunar Phase for more information

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface Intermediate : LunarPhase

An intermediate moon phase. There are only 4 intermediate moon phases. Waxing Crescent, Waxing Gibbous, Waning Gibbous, Waning Crescent. These phases describe the state of the moon between the 4 Primary moon phases.

Link copied to clipboard

A primary moon phase. There are only 4 primary moon phases, New Moon, First Quarter, Full Moon, and Last Quarter These phases happen at a single instant in time rather than describing a range between states.