pray_calc_dart 1.0.0
pray_calc_dart: ^1.0.0 copied to clipboard
Islamic prayer times for Dart and Flutter. Pure Dart port of the pray-calc library implementing the MCW seasonal model and dynamic twilight angles. Uses nrel_spa for the NREL Solar Position Algorithm.
Changelog #
All notable changes to this project will be documented in this file.
[Unreleased] #
Changed #
- Replaced bundled SPA implementation with the
nrel_spapackage dependency - Removed
SpaResultandSpaAnglesResultfrom local types (now re-exported fromnrel_spa)
1.0.0 - 2026-03-08 #
Added #
getTimes()computes all prayer times using the PrayCalc Dynamic MethodgetAngles()returns adaptive Fajr/Isha twilight depression anglesgetSpa()full NREL Solar Position Algorithm (SPA) implementationsolarEphemeris()low-precision Jean Meeus Ch. 25 ephemerisgetAsr()computes Asr time for Shafi'i or Hanafi conventionsgetQiyam()computes start of the last third of the nightgetMscFajr()andgetMscIsha()MCW seasonal offsetsformatTime()converts fractional hours to HH:MM:SS stringsminutesToDepression()converts time offsets to depression angles- Full type definitions: PrayerTimes, FormattedPrayerTimes, TwilightAngles, SpaResult, SolarEphemeris
- Comprehensive test suite validated against pray-calc TypeScript v2.0.0