getShaahZmanisGra method
A method that returns a shaah zmanis (getTemporalHour temporal hour) according to
the opinion of the GRA. This calculation divides
the day based on the opinion of the GRA that the day runs from from getSeaLevelSunrise sea
level sunrise to getSeaLevelSunrise sea level sunset or getSunrise sunrise to
getSunset sunset (depending on the isUseElevation setting). The day is split into 12 equal
parts with each one being a shaah zmanis. This method is similar to getTemporalHour, but can
account for elevation.
return the long millisecond length of a shaah zmanis calculated from sunrise to sunset.
If the calculation can't be computed such as in the Arctic Circle where there is at least one day a year
where the sun does not rise, and one where it does not set, double.minPositive will be returned. See
detailed explanation on top of the AstronomicalCalendar documentation.
see getTemporalHour
see getSeaLevelSunrise
see getSeaLevelSunset
see ComplexZmanimCalendar.getShaahZmanisBaalHatanya
Implementation
double getShaahZmanisGra() => getTemporalHour(
getElevationAdjustedSunrise(), getElevationAdjustedSunset());