Skip to content

fix: SunPhase is not thread safe - #16

Open
webbrain-one wants to merge 1 commit into
florianmski:masterfrom
webbrain-one:webbrain/issue-14
Open

fix: SunPhase is not thread safe#16
webbrain-one wants to merge 1 commit into
florianmski:masterfrom
webbrain-one:webbrain/issue-14

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #14

Remove mutable startDate/endDate and setters from SunPhase.
Add an immutable SunPhaseDay model to carry phase angles, rise flags,
and the computed start/end dates returned from SunCalc#getPhases.

Fixes florianmski#14.
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.

SunPhase is not thread safe

1 participant