condition sun Structure: Conditional on the Sun's position being between two events.
condition sun structure
not beforeastronomical sun event: optional
not afterastronomical sun event: optional
sun position tests if the Sun's position, observed from given location on Earth, is between two astronomic events. Typically this condition is used to test if the date and time is during the day or night.
The date is not before this Sun event.
The date is not after this Sun event.
Location to calculate Sun position from.
Date to calculate Sun position on.