getSofZmanShmaGRA method

DateTime? getSofZmanShmaGRA()

This method returns the latest zman krias shema (time to recite shema in the morning) that is 3 * getShaahZmanisGra shaos zmaniyos (solar hours) after getSunrise sunrise or getSeaLevelSunrise sea level sunrise (depending on the isUseElevation setting), according to the GRA. The day is calculated from getSeaLevelSunrise sea level sunrise to getSeaLevelSunrise sea level sunset or getSunrise sunrise to getSunset sunset (depending on the isUseElevation setting).

see getSofZmanShma see #getShaahZmanisGra see #isUseElevation see ComplexZmanimCalendar.getSofZmanShmaBaalHatanya return the Date of the latest zman shema according to the GRA. 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, a null will be returned. See the detailed explanation on top of the AstronomicalCalendar documentation.

Implementation

DateTime? getSofZmanShmaGRA() => getSofZmanShma(
    getElevationAdjustedSunrise(), getElevationAdjustedSunset());