prayers_times library
The prayers_times
library provides a collection of utilities and calculations
related to prayer times, celestial calculations, and other Islamic insights.
The library includes various modules for calculating prayer times, handling celestial calculations, defining prayer calculation methods and parameters, converting prayer times, determining qibla direction, and more.
The calculations and utilities in this library are based on established algorithms and formulas. Please refer to authoritative sources for detailed explanations and references for the calculations.
Classes
- CelestialMap
-
The
CelestialMap
class provides calculations related to the solar coordinates, including declination, right ascension, and apparent sidereal time. - CelestialMath
- CelestialTimeUtils
-
The
CelestialTimeUtils
class provides various date and time calculations related to celestial phenomena. - CelestialUtils
-
The
CelestialUtils
class provides utility functions for celestial calculations and angle manipulation. - Coordinates
-
The
Coordinates
class represents geographical coordinates on the Earth's surface. - HighLatitudeRule
-
The
HighLatitudeRule
class provides predefined rules for handling high latitudes when calculating Islamic prayer times. - PrayerCalculationMethod
-
The
PrayerCalculationMethod
class provides predefined calculation methods for determining Islamic prayer times. - PrayerCalculationParameters
-
The
PrayerCalculationParameters
class represents parameters used for calculating Islamic prayer times. - PrayerMadhab
-
The
PrayerMadhab
class provides predefined madhabs (schools of thought) for Islamic prayer time calculations. - PrayerTimeCalculator
-
The
PrayerTimeCalculator
class provides utilities for calculating shadow length based on a specified madhab. - PrayerTimeConverter
- A utility class for converting decimal time values into UTC date and time for prayer times.
- PrayerTimes
-
The
PrayerTimes
class calculates prayer times based on provided coordinates, date, and calculation parameters. - PrayerType
-
The
PrayerType
class provides constants representing different types of Islamic prayers. - Qibla
-
The
Qibla
class provides a method to calculate the Qibla direction (direction of the Kaaba in Makkah) from a given location. - StellarMoment
-
The
StellarMoment
class provides calculations related to solar time, including sunrise, sunset, and solar transit times. - SunnahInsights
-
The
SunnahInsights
class provides calculations for middle of the night and last third of the night times.