Itl.Prayer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Asr offset |
||
r/w |
Latitude in decimal degree |
||
r/w |
Longitude in decimal degree |
||
r/w |
Dhuhr offset |
||
r/w |
Daylight savings time switch (0 if not used) |
||
r/w |
Extreme latitude calculation method |
||
r/w |
Latitude at which the extreme method should always be used |
||
r/w |
Fajr angle |
||
r/w |
Amount of minutes between Fajr and Shurooq (0 if not used) |
||
r/w |
Fajr offset |
||
r/w |
GMT difference at regular time. |
||
r/w |
The angle difference between Imsaak and Fajr |
||
r/w |
Amount of minutes between Imsaak and Fajr |
||
r/w |
Ishaa’ offset |
||
r/w |
Ishaa’ angle |
||
r/w |
Amount of minutes between Ishaa and Maghrib (0 if not used) |
||
r/w |
Maghrib offset |
||
r/w |
Asr prayer shadow ratio |
||
r |
Calculation method |
||
r/w |
Latitude Used for the ‘Nearest Latitude’ extreme methods. |
||
r/w |
This option allows you to add or subtract any amount of minutes to the daily computed prayer times based on values (in minutes) for each prayer in the offList array |
||
r/w |
Atmospheric pressure in millibars (the astronomical standard value is 1010) |
||
r/w |
Method used for rounding seconds |
||
r/w |
Height above Sea level in meters |
||
r/w |
Shurooq offset |
||
r/w |
Temperature in Celsius degree (the astronomical standard value is 10) |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Itl.Prayer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
Itl.Prayer
- Return type:
Creates a new
Itl.Prayer
- getNextDayFajr(cdate)¶
- Parameters:
cdate (
GLib.Date
) – Date for which to calculate Fajr for the day after- Returns:
DateTime struct for next day fajr time
- Return type:
This function calculates prayer times for the given date
- getPrayerTimes(cdate)¶
- Parameters:
cdate (
GLib.Date
) – Date for which to calculate prayer times- Returns:
6 prayer times from Fajr till Isha’
- Return type:
This function calculates prayer times for the given date
- setLocation(degreeLong, degreeLat, gmtDiff, dst)¶
- Parameters:
Set location for which to calculate prayer times
- setMethod(n)¶
- Parameters:
n (
Itl.Method
) – auto fill method
This function is used to auto fill the Method structure with predefined data.
Property Details¶
- Itl.Prayer.props.asr_offset¶
-
Asr offset
- Itl.Prayer.props.degree_lat¶
-
Latitude in decimal degree
- Itl.Prayer.props.degree_long¶
-
Longitude in decimal degree
- Itl.Prayer.props.dhuhr_offset¶
-
Dhuhr offset
- Itl.Prayer.props.dst¶
-
Daylight savings time switch (0 if not used)
- Itl.Prayer.props.extreme¶
- Name:
extreme
- Type:
- Default Value:
- Flags:
Extreme latitude calculation method
- Itl.Prayer.props.extreme_lat¶
-
Latitude at which the extreme method should always be used
- Itl.Prayer.props.fajr_ang¶
-
Fajr angle
- Itl.Prayer.props.fajr_inv¶
-
Amount of minutes between Fajr and Shurooq (0 if not used)
- Itl.Prayer.props.fajr_offset¶
-
Fajr offset
- Itl.Prayer.props.gmt_diff¶
-
GMT difference at regular time.
- Itl.Prayer.props.imsaak_ang¶
-
The angle difference between Imsaak and Fajr
- Itl.Prayer.props.imsaak_inv¶
-
Amount of minutes between Imsaak and Fajr
- Itl.Prayer.props.isha_offset¶
-
Ishaa’ offset
- Itl.Prayer.props.ishaa_ang¶
-
Ishaa’ angle
- Itl.Prayer.props.ishaa_inv¶
-
Amount of minutes between Ishaa and Maghrib (0 if not used)
- Itl.Prayer.props.maghrib_offset¶
-
Maghrib offset
- Itl.Prayer.props.mathhab¶
- Name:
mathhab
- Type:
- Default Value:
- Flags:
Asr prayer shadow ratio
- Itl.Prayer.props.method¶
- Name:
method
- Type:
- Default Value:
- Flags:
Calculation method
- Itl.Prayer.props.nearest_lat¶
-
Latitude Used for the ‘Nearest Latitude’ extreme methods.
- Itl.Prayer.props.offset¶
-
This option allows you to add or subtract any amount of minutes to the daily computed prayer times based on values (in minutes) for each prayer in the offList array
- Itl.Prayer.props.pressure¶
-
Atmospheric pressure in millibars (the astronomical standard value is 1010)
- Itl.Prayer.props.round¶
- Name:
round
- Type:
- Default Value:
- Flags:
Method used for rounding seconds
- Itl.Prayer.props.sea_level¶
-
Height above Sea level in meters
- Itl.Prayer.props.shurooq_offset¶
-
Shurooq offset