TwilightPhase

interface TwilightPhase

Represents the various Twilight phases the sun can have.

Inheritors

Types

Link copied to clipboard

Astronomical twilight is observed when the sun is between -12.0 and -18.0 degrees.

Link copied to clipboard

Civil twilight is observed when the sun is between 0.0 and -6.0 degrees.

Link copied to clipboard
data object Day : DawnPhase, TwilightPhase

No twilight phase observed. Sun is up.

Link copied to clipboard

Nautical twilight is observed when the sun is between -6.0 and -12.0 degrees.

Link copied to clipboard

No twilight phase observed. Sun is down.