daylight library

Classes

DaylightCalculator
Class that wraps all daylight calculations
DaylightLocation
Simple wrapper class for storing the geographical coordinates of a specific location.
DaylightResult
Defines a snapshot result for a daylight calculation.

Enums

DayType
Enum that defines which sun events happens in a specific day
EventType
Enum that defines in with scope the zenith time will be calculated.
Zenith
Enum that defines the sun position in the event.

Extensions

DayTypeUtils on DayType
Extension that adds utility comparison methods into DayType.
ZenithAngle on Zenith
Extension that adds angle prop to retrieve angle value (in grads) for a specific Zenith