HorizonEvent

sealed interface HorizonEvent : SolarEvent

Horizon Events are solar events that involve the sun transiting the horizon. For instance Sunrise and Sunset. Also includes events like SunsetBegin and SunriseEnd

Inheritors

Types

Link copied to clipboard
sealed interface Simple : SolarEvent.HorizonEvent

Simple HorizonEvents include just Sunset and Sunrise

Properties

Link copied to clipboard
abstract val time: Instant

Time of the event

Functions

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