LunarEvent

sealed interface LunarEvent : Comparable<LunarEvent>

Times when particular lunar events of interest happen. Examples would be moon set and moon rise.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface HorizonEvent : LunarEvent

A subtype of LunarEvent that includes all events pertaining to the horizon (moonrise and moonset)

Link copied to clipboard
sealed interface LunarEventType

Types of LunarEvents that can be requested in a lunar event sequence

Link copied to clipboard
sealed interface PhaseEvent : LunarEvent

Event pertaining to the phase of the moon. These events represent LunarPhase.Primary phases as those occur at a specific instant in time. Waxing phases are where the moon is becoming more illuminated (trending towards a Full Moon, whereas Waning phases are where the moon is becoming less illuminated.

Properties

Link copied to clipboard
abstract val time: Instant

Moment of the lunar event

Functions

Link copied to clipboard
open operator override fun compareTo(other: LunarEvent): Int