Skip to content

add getSunLowerTransit algorithm to detect solar midnight#234

Merged
KosherJava merged 2 commits intoKosherJava:masterfrom
pinnymz:sun_lower_transit
Apr 26, 2024
Merged

add getSunLowerTransit algorithm to detect solar midnight#234
KosherJava merged 2 commits intoKosherJava:masterfrom
pinnymz:sun_lower_transit

Conversation

@pinnymz
Copy link
Copy Markdown
Contributor

@pinnymz pinnymz commented Apr 16, 2024

The new getSunLowerTransit method will find the sun transit time on the opposite side of the earth: longitudinal offset by 180 degrees.

As part of this PR, the internal getDateFromTime conversion method has been enhanced to support additional solar events. To this end, the boolean isSunrise has been changed to an enum.

Copy link
Copy Markdown
Owner

@KosherJava KosherJava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pinnymz

@KosherJava KosherJava merged commit a76a3b6 into KosherJava:master Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants