summaryrefslogtreecommitdiffstats
path: root/Solsnu.Widget/Solsnu_Widget.swift
diff options
context:
space:
mode:
authorivar <i@oiee.no>2026-03-23 16:27:34 +0100
committerivar <i@oiee.no>2026-03-23 16:27:34 +0100
commitf72e25fef049c91041335819332e35dba2efb0d2 (patch)
treeb784b60cf8a97b315c1d05cd700f943c91131f48 /Solsnu.Widget/Solsnu_Widget.swift
parenta5839d84b64333e74c34aa0c69f5ca0b23664bb8 (diff)
downloadsolverv-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