CalculationParameters class
Parameters used for PrayerTime calculation customization
Note that, for many cases, you can use CalculationMethod.getParameters
to get a
pre-computed set of calculation parameters depending on one of the available
CalculationMethod.
Constructors
- CalculationParameters({CalculationMethod method, double fajrAngle, double maghribAngle, double ishaAngle, int ishaInterval, Madhab madhab, HighLatitudeRule highLatitudeRule, PrayerAdjustments adjustments, PrayerAdjustments methodAdjustments})
Properties
- adjustments ↔ PrayerAdjustments
-
Used to optionally add or subtract a set amount of time from each prayer time
read / write
- fajrAngle ↔ double
-
The angle of the sun used to calculate fajr
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- highLatitudeRule ↔ HighLatitudeRule
-
Rules for placing bounds on Fajr and Isha for high latitude areas
read / write
- ishaAngle ↔ double
-
The angle of the sun used to calculate isha
read / write
- ishaInterval ↔ int
-
Minutes after Maghrib (if set, the time for Isha will be Maghrib plus IshaInterval)
read / write
- madhab ↔ Madhab
-
The madhab used to calculate Asr
read / write
- maghribAngle ↔ double
-
The angle of the sun used to calculate Maghrib
read / write
- method ↔ CalculationMethod
-
The method used to do the calculation
read / write
- methodAdjustments ↔ PrayerAdjustments
-
Used for method adjustments
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
nightPortions(
) → _NightPortions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withMethodAdjustments(
PrayerAdjustments adjustments) → CalculationParameters -
Set the method adjustments for the current calculation parameters
adjustments
the prayer adjustments return this calculation parameters instance
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited