Skip to content

Commit f372df5

Browse files
committed
docs(calculation parameters): add rounding param
Added the `rounding` param to the list values that can be modified for a CalculationParameters object.
1 parent b33f265 commit f372df5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

METHODS.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ params.adjustments.fajr = 2;
1313

1414
| Property | Description |
1515
| --------- | ----------- |
16-
| method | CalculationMethod name |
17-
| fajrAngle | Angle of the sun used to calculate Fajr |
18-
| maghribAngle | Angle of the sun used to calculate Maghrib (this is used by the Tehran method) |
19-
| ishaAngle | Angle of the sun used to calculate Isha |
20-
| ishaInterval | Minutes after Maghrib (if set, the time for Isha will be Maghrib plus ishaInterval) |
21-
| madhab | Value from the Madhab object, used to calculate Asr |
22-
| highLatitudeRule | Value from the HighLatitudeRule object, used to set a minimum time for Fajr and a max time for Isha |
23-
| adjustments | Object with custom prayer time adjustments (in minutes) for each prayer time |
24-
| polarCircleResolution | Value from the PolarCircleResolution object, strategy used to resolve undefined prayer times for areas located in polar circles |
25-
| shafaq | Used by the MoonsightingCommittee method to determine how to calculate Isha. See explanation of values below. |
16+
| method | CalculationMethod name. |
17+
| fajrAngle | Angle of the sun used to calculate Fajr. |
18+
| maghribAngle | Angle of the sun used to calculate Maghrib (this is used by the Tehran method). |
19+
| ishaAngle | Angle of the sun used to calculate Isha. |
20+
| ishaInterval | Minutes after Maghrib (if set, the time for Isha will be Maghrib plus ishaInterval). |
21+
| madhab | Value from the Madhab object, used to calculate Asr. `Shafi` is the default value. |
22+
| highLatitudeRule | Value from the HighLatitudeRule object, used to set a minimum time for Fajr and a max time for Isha. |
23+
| adjustments | Object with custom prayer time adjustments (in minutes) for each prayer time. |
24+
| rounding | The behavior for rounding prayer times. Either to nearest minute, to the higher minute, or none. `Nearest` is the default value. |
25+
| polarCircleResolution | Value from the PolarCircleResolution object, strategy used to resolve undefined prayer times for areas located in polar circles. `Unresolved` is the default value. |
26+
| shafaq | Used by the MoonsightingCommittee method to determine how to calculate Isha. See explanation of values below. `General` is the default value. |
2627

2728
#### CalculationMethod
2829

0 commit comments

Comments
 (0)