Package-level declarations
Types
A state the sun can be in where the angle can cause lighting effects. This is mostly relevant to photographers.
Describes what a LightPhase is by defining the range of angles for which a particular LightPhase is active for.
A state the sun can be in where the angle can cause lighting effects. This is mostly relevant to photographers.
Times when particular solar events of interest happen. Examples would be things like Sunrise, sunset, solar noon, start of civil dawn, etc. These events represent moments or Instants in time. This time can be extracted via SolarEvent.time
Sequence representing all SolarEvents supported by Kastro. The sequence will be ordered by SolarEvent.time either advancing forwards or backwards in time depending on the reverse
parameter.
Types of SolarEvents that can be requested in a SolarEventSequence
Represents the "state" of the sun. SolarEvents represent moments in time where state transitions may occur. SolarPhase, in contrast, represents the ranges between SolarEvents. For a given location there is always a SolarPhase to describe the sun at any given kotlinx.datetime.Instant
Single class containing all the information Kastro can calculate about Sol for a given instant of time. Contains the result of multiple calculations.
Properties
Range of angles for which a given LightPhaseInfo is active for.
Range of angles for which a given TwilightInfo is active for.
Functions
Calculates the SolarState for a given Instant in time