prayer_time_plus library
Offline Islamic prayer times and Sunnah times.
Computes the six daily prayer times (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha) plus Sunset from coordinates, a date, and calculation parameters, with 50+ regional calculation methods and zero runtime dependencies.
Classes
- AutoMethod
- Resolves a CalculationMethod automatically from a location's country.
- CalculationParameters
- The full set of knobs that drive a prayer-times calculation.
- Coordinates
- A geographic position used as the observer location.
- DateComponents
- A plain Gregorian calendar date (year, month, day) with no time of day and no timezone.
- PrayerAdjustments
- Per-prayer minute offsets.
- PrayerTimes
- The computed prayer times for a single day and location.
- SunnahTimes
- Night-portion times derived from a day's prayer times.
Enums
- CalculationMethod
- Preset calculation methods.
- HighLatitudeRule
- Fallback rule for latitudes where the sun may not reach the Fajr/Isha depression angle (roughly beyond 48°).
- Madhab
- Juristic school used for the Asr calculation.
- Prayer
- The six daily prayer/time markers exposed by PrayerTimes, plus none.