diff options
| author | ivar <i@oiee.no> | 2026-03-23 16:27:34 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-03-23 16:27:34 +0100 |
| commit | f72e25fef049c91041335819332e35dba2efb0d2 (patch) | |
| tree | b784b60cf8a97b315c1d05cd700f943c91131f48 /Solsnu.Widget/Solsnu_Widget.swift | |
| parent | a5839d84b64333e74c34aa0c69f5ca0b23664bb8 (diff) | |
| download | solverv-f72e25fef049c91041335819332e35dba2efb0d2.tar.xz solverv-f72e25fef049c91041335819332e35dba2efb0d2.zip | |
feat: add SunTimes calculator using NOAA algorithm with test-driven approach
- Implements NOAA solar position algorithm for accurate sunrise/sunset calculation
- Uses UTC-based calculations with proper timezone conversion
- Includes comprehensive test cases covering spring equinox and polar regions
- Handles edge cases like sun always up/down in polar regions gracefully
- Tests validate accuracy within realistic tolerances for different latitudes
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'Solsnu.Widget/Solsnu_Widget.swift')
0 files changed, 0 insertions, 0 deletions
