HorizonEvent

sealed interface HorizonEvent : LunarEvent

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

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Types of LunarEvent.HorizonEvents that can be requested in a lunar event sequence

Link copied to clipboard
class Moonrise(val time: Instant) : LunarEvent.HorizonEvent

When the moon rises above the horizon.

Link copied to clipboard
class Moonset(val time: Instant) : LunarEvent.HorizonEvent

When the moon sets below the horizon.

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