Class ComprehensiveZmanimCalendar
- All Implemented Interfaces:
Cloneable
This class extends ZmanimCalendar and provides many more zmanim than available in the ZmanimCalendar. The basis
for most zmanim in this class are from the sefer Yisroel
Vehazmanim by Rabbi Yisrael Dovid Harfenes.
As an example of the number of different zmanim made available by this class, there are methods to return 18
different calculations for alos (dawn), 18 for plag hamincha and 29 for tzais available in this
API. The real power of this API is the ease in calculating zmanim that are not part of the library. The methods for
zmanim calculations not present in this class or it's superclass ZmanimCalendar are contained in the
AstronomicalCalendar, the base class of the calendars in our API since they are generic methods for calculating
time based on degrees or time before or after sunrise and sunset and are of interest for calculation beyond zmanim calculations. Here are some examples.
First create the Calendar for the location you would like to calculate:
String locationName = "Lakewood, NJ";
double latitude = 40.0828; // Lakewood, NJ
double longitude = -74.222; // Lakewood, NJ
double elevation = 20; // optional elevation correction in Meters
// the String parameter in getZoneId() has to be a valid ZoneId listed in ZoneId.getAvailableZoneIds()
ZoneId zoneId = ZoneId.of("America/New_York");
GeoLocation location = new GeoLocation(locationName, latitude, longitude, elevation, zoneId);
ComprehensiveZmanimCalendar czc = new ComprehensiveZmanimCalendar(location);
// Optionally set the date or it will default to today's date
ZonedDateTime dateTime = ZonedDateTime.of(1969, Month.FEBRUARY.getValue(), 8, 0, 0, 0, 0, location.getZoneId());
czc.setZonedDateTime(dateTime);
Note: For locations such as Israel where the beginning and end of daylight savings time can fluctuate from
year to year, if your version of Java does not have an up to date time zone database, create a
SimpleTimeZone with the known start and end of DST.
To get alos calculated as 14° below the horizon (as calculated in the calendars published in Montreal),
add AstronomicalCalendar.GEOMETRIC_ZENITH (90) to the 14° offset to get the desired time:
Instant alos14 = czc.getSunriseOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH + 14);
To get mincha gedola calculated based on the Magen Avraham (MGA) using a shaah zmanis based on the day starting 16.1° below the horizon (and ending 16.1° after sunset) the following calculation can be used:
Instant minchaGedola = czc.getTimeOffset(czc.getAlos16point1Degrees(), czc.getShaahZmanis16Point1Degrees() * 6.5);
or even simpler using the included convenience methods
Instant minchaGedola = czc.getMinchaGedola(czc.getAlos16point1Degrees(), czc.getShaahZmanis16Point1Degrees());
A little more complex example would be calculating zmanim that rely on a shaah zmanis that is
not present in this library. While a drop more complex, it is still rather easy. An example would be to calculate
the Trumas Hadeshen's alos to
tzais based plag hamincha as calculated in the Machzikei Hadass calendar in Manchester, England.
A number of this calendar's zmanim are calculated based on a day starting at alos of 12° before
sunrise and ending at tzais of 7.083° after sunset. Be aware that since the alos and tzais
do not use identical degree-based offsets, this leads to chatzos being at a time other than the
solar transit (solar midday). To calculate this zman, use the following steps. Note
that plag hamincha is 10.75 hours after the start of the day, and the following steps are all that it takes.
Instant plag = czc.getPlagHamincha(czc.getSunriseOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH+ 12), czc.getSunsetOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH+ ZENITH_7_POINT_083));
Something a drop more challenging, but still simple, would be calculating a zman using the same "complex" offset day used in the above-mentioned Manchester calendar, but for a shaos zmaniyos based zman not supported by this library, such as calculating the point that one should be makpid not to eat on erev Shabbos or erev Yom Tov. This is 9 shaos zmaniyos into the day.
- Calculate the shaah zmanis in milliseconds for this day
- Add 9 of these shaos zmaniyos to alos starting at 12°
long shaahZmanis = czc.getTemporalHour(czc.getSunriseOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH+ 12), czc.getSunsetOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH+ ZENITH_7_POINT_083)); Instant sofZmanAchila = getTimeOffset(czc.getSunriseOffsetByDegrees(AstronomicalCalendar.GEOMETRIC_ZENITH+ 12), shaahZmanis * 9);
Calculating this sof zman achila according to the GRA is simplicity itself.
Instant sofZmanAchila = czc.getTimeOffset(czc.getSunrise(), czc.getShaahZmanisGRA() * 9);
See documentation from the ZmanimCalendar parent class
- Author:
- © Eliyahu Hershfeld 2004 - 2026
-
Nested Class Summary
Nested classes/interfaces inherited from class AstronomicalCalendar
AstronomicalCalendar.SolarEventModifier and TypeClassDescriptionprotected static enumAn enum to indicate what type of solar event is being calculated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleThe offset in minutes (defaults to 40) after sunset used for tzeit based on calculations of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah.protected static final doubleThe zenith of 10.2° belowgeometric zenith(90°).protected static final doubleThe zenith of 11° belowgeometric zenith(90°).protected static final doubleThe zenith of 11.5° belowgeometric zenith(90°).protected static final doubleThe zenith of 12.85° belowgeometric zenith(90°).protected static final doubleThe zenith of 13.24° belowgeometric zenith(90°).protected static final doubleThe zenith of 16.9° below geometric zenith (90°).protected static final doubleThe zenith of 19° belowgeometric zenith(90°).protected static final doubleThe zenith of 19.8° belowgeometric zenith(90°).protected static final doubleThe zenith of 26° belowgeometric zenith(90°).protected static final doubleThe zenith of 3.7° belowgeometric zenith(90°).protected static final doubleThe zenith of 3.8° belowgeometric zenith(90°).protected static final doubleThe zenith of 4.42° belowgeometric zenith(90°).protected static final doubleThe zenith of 4.66° belowgeometric zenith(90°).protected static final doubleThe zenith of 4.8° belowgeometric zenith(90°).protected static final doubleThe zenith of 5.95° belowgeometric zenith(90°).protected static final doubleThe zenith of 6° belowgeometric zenith(90°).protected static final doubleThe zenith of 6.45° belowgeometric zenith(90°).protected static final doubleThe zenith of 7.083° belowgeometric zenith(90°).protected static final doubleThe zenith of 7.65° belowgeometric zenith(90°).protected static final doubleThe zenith of 7.67° belowgeometric zenith(90°).protected static final doubleThe zenith of 9.3° belowgeometric zenith(90°).protected static final doubleThe zenith of 9.5° belowgeometric zenith(90°).protected static final doubleThe zenith of 9.75° belowgeometric zenith(90°).protected static final doubleThe zenith of 2.1° abovegeometric zenith(90°).protected static final doubleThe zenith of 2.8° abovegeometric zenith(90°).protected static final doubleThe zenith of 3.05° abovegeometric zenith(90°).Fields inherited from class ZmanimCalendar
ZENITH_1_POINT_583, ZENITH_16_POINT_1, ZENITH_8_POINT_5Modifier and TypeFieldDescriptionprotected static final doubleThe zenith of 1.583° belowgeometric zenith(90°).protected static final doubleThe zenith of 16.1° below geometric zenith (90°).protected static final doubleThe zenith of 8.5° below geometric zenith (90°).Fields inherited from class AstronomicalCalendar
ASTRONOMICAL_ZENITH, CIVIL_ZENITH, GEOMETRIC_ZENITH, HOUR_MILLIS, MINUTE_MILLIS, NAUTICAL_ZENITHModifier and TypeFieldDescriptionstatic final doubleSun's zenith at astronomical twilight (108°).static final doubleSun's zenith at civil twilight (96°).static final double90° below the vertical.static final longconstant for milliseconds in an hour (3,600,000)static final longconstant for milliseconds in a minute (60,000)static final doubleSun's zenith at nautical twilight (102°). -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor will set a defaultGeoLocation(), a defaultAstronomicalCalculatorand default the calendar to the current date.ComprehensiveZmanimCalendar(GeoLocation location) A constructor that takes aGeoLocationas a parameter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions.Deprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions.A method to return alos (dawn) calculated when the sun is18°below the eastern geometric horizon before sunrise.A method to return alos (dawn) calculated when the sun is19°below the eastern geometric horizon before sunrise.Method to return alos (dawn) calculated when the sun is19.8°below the eastern geometric horizon before sunrise.Deprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions.Method to return alos (dawn) calculated as 60 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting).Method to return alos (dawn) calculated using 72 minutes zmaniyos or 1/10th of the day before sunrise.Method to return alos (dawn) calculated using 90 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting) based on the time to walk the distance of 4 mil at 22.5 minutes a mil.Method to return alos (dawn) calculated using 90 minutes zmaniyos or 1/8th of the day beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting).Method to return alos (dawn) calculated using 96 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting) that is based on the time to walk the distance of 4 mil at 24 minutes a mil.This method returns alos (dawn) calculated using 96 minutes zmaniyos or 1/7.5th of the day beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting).Returns the Baal Hatanya's alos (dawn) calculated as the time when the sun is 16.9° below the easterngeometric horizonbeforesunrise.doubleReturns the offset in minutes after sunset used to calculate tzais based on the calculations of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah calculations.Method to return the beginning of bain hashmashos of Rabbeinu Tam calculated when the sun is13.24°below the westerngeometric horizon(90°) after sunset.This method returns the beginning of bain hashmashos of Rabbeinu Tam calculated according to the opinion of the Divrei Yosef (see Yisrael Vehazmanim) calculated 5/18th (27.77%) of the time between alos (calculated as 19.8° before sunrise) and sunrise.This method returns the beginning of Bain hashmashos of Rabbeinu Tam calculated as a 58.5-minute offset after sunset.This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 13.5 minutes or 3/4 of an 18-minute mil before sunset.This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 16.875 minutes or 3/4 of a 22.5-minute mil before sunset.This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 18 minutes or 3/4 of a 24-minute mil before sunset.This method returns the beginning of bain hashmashos according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 2.1° above the horizon around the equinox / equilux in Yerushalayim, its position 13.5 minutes or 3/4 of an 18-minute mil before sunset.This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 2.8° above the horizon around the equinox / equilux, its position 16.875 minutes or 3/4 of an 18-minute mil before sunset.This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 3.05° above the horizon around the equinox / equilux, its position 18 minutes or 3/4 of an 24-minute mil before sunset.A method that returns the local time for fixed chatzos.This method returns the time of mincha gedola according to the Magen Avraham with the day starting and ending 16.1° below the horizon.This method returns mincha gedola calculated as 30 minutes afterchatzosand not 1/2 of ashaah zmanisafterchatzosas calculated byZmanimCalendar.getMinchaGedola(Instant, Instant, boolean).This method returns the time of mincha gedola according to the Magen Avraham with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.This method returns the time of mincha gedola based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that mincha gedola is calculated as half a shaah zmanis after chatzos with shaos zmaniyos calculated based on a day starting 72 minutes before sunrisealos 16.1°and ending 13.5 minutes after sunsettzais 3.7°.This method returns the time of mincha gedola based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)).This method returns the time of mincha gedola.This method returns Rav Moshe Feinstein's opinion of the calculation of mincha gedola, the earliest time one can pray mincha according to theGRA calculated as 30 minutes afterfixed local chatzos.This is a convenience method that returns the later ofZmanimCalendar.getMinchaGedolaGRA()andgetMinchaGedola30Minutes().getMinchaGedolaGreaterThan30(Instant minchaGedola) This is a convenience method that returns the later of the minchaGedola passed in andgetMinchaGedola30Minutes().This method returns the time of mincha ketana according to the Magen Avraham with the day starting and ending 16.1° below the horizon.This method returns the time of mincha ketana according to the Magen Avraham with the day starting 72 minutes before sunrise and ending 72 minutes after sunset.This method returns the time of mincha ketana based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that mincha ketana is calculated as 2.5 shaos zmaniyos beforetzais 3.8°with shaos zmaniyos calculated based on a day starting atalos 16.1°and ending at tzais 3.8°.This method returns the time of mincha ketana based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)).This method returns the time of mincha ketana.This method returns Rav Moshe Feinstein's opinion of the calculation of mincha ketana (the preferred time to recite the mincha prayers according to the opinion of the Rambam and others) calculated according to the GRA that is 3.5 shaos zmaniyos (solar hours) afterfixed local chatzos.This method returns misheyakir based on the position of the sun when it is10.2°belowgeometric zenith(90°).This method returns misheyakir based on the position of the sun when it is11°belowgeometric zenith(90°).This method returns misheyakir based on the position of the sun when it is11.5°belowgeometric zenith(90°).Deprecated.This method returns a very early misheyakir time that should only be used bish'as hadchak.This method returns misheyakir based on the position of the sun when it is7.65°belowgeometric zenith(90°).This method returns misheyakir based on the position of the sun when it is9.5°belowgeometric zenith(90°).private InstantgetMoladBasedTime(Instant moladBasedTime, Instant alos, Instant tzais, boolean techila) Returns the Instant of the molad based time if it occurs on the current date.This method returns the time of plag hamincha (the earliest time that Shabbos can be started) based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that that plag hamincha is calculated as 1.25 shaos zmaniyos beforetzais 3.8°with shaos zmaniyos calculated based on a day starting atalos 16.1°and ending at tzais 3.8°.This method returns the time of plag hamincha based on the opinion that the day starts atalos 16.1°and ends attzais. 10.75 shaos zmaniyos are calculated based on this day and added toalosto reach this time.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.This method returns the time of plag hamincha according to the Magen Avraham with the day starting 60 minutes before sunrise and ending 60 minutes after sunset.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc.This method returns the time of plag hamincha based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)).This method returns the time of plag hamincha.This method returns Rav Moshe Feinstein's opinion of the calculation of plag hamincha.A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated based on a day from and ending a day starting atalos 16.1°and ending attzais 16.1°.A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated based on a day from and ending a day starting atalos 72 minutesand ending attzais 72 minutes.A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated according to the GRA using a day starting at sunrise and ending at sunset.longMethod to return a shaah zmanis (temporal hour) calculated using a dip of 120 minutes.longMethod to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes zmaniyos beforesunrise.longMethod to return a shaah zmanis (temporal hour) calculated using a dip of 16.1°.longMethod to return a shaah zmanis (temporal hour) calculated using a 18° dip.longMethod to return a shaah zmanis (temporal hour) calculated using a 19.8° dip.longMethod to return a shaah zmanis (temporal hour) calculated using a dip of 26°.longMethod to return a shaah zmanis (solar hour) according to the opinion of the Magen Avraham (MGA).longMethod to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos beforesunrise.longMethod to return a shaah zmanis (temporal hour) calculated using a dip of 90 minutes.longMethod to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise.longMethod to return a shaah zmanis (temporal hour) calculated using a dip of 96 minutes.longMethod to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise.longMethod to return a shaah zmanis (temporal hour) used by some zmanim according to the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that is based on a day starting 72 minutes before sunrise in degreesalos 16.1°and ending 13.5 minutes after sunset in degreestzais 3.7°.longMethod to return a shaah zmanis (temporal hour) used by some zmanim according to the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that is based on a day starting 72 minutes before sunrise in degreesalos 16.1°and ending 14 minutes after sunset in degreestzais 3.8°.longMethod to return a shaah zmanis (temporal hour) according to the opinion of the Chacham Yosef Harari-Raful of Yeshivat Ateret Torah calculated with alos being 1/10th of sunrise to sunset day, or72minutes zmaniyos of such a day beforesunrise, and tzais is usually calculated as40 minutes(configurable to any offset viasetAteretTorahSunsetOffset(double)) aftersunset.longA method that returns the Baal Hatanya's a shaah zmanis (temporal hour).This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Baal Hatanya.This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the GRA.This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise.This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes beforesunrise.This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72 zmaniyosminutes beforesunrise.This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Baal Hatanya.This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the GRA.This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise.This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes beforesunrise.This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmanis beforesunrise.Returns the latest time of Kiddush Levana calculated as 15 days after the molad.getSofZmanKidushLevana15Days(Instant alos, Instant tzais) Returns the latest time of Kiddush Levana calculated as 15 days after the molad.Returns the latest time of Kiddush Levana according to the Maharil's opinion that it is calculated as halfway between molad and molad.getSofZmanKidushLevanaBetweenMoldos(Instant alos, Instant tzais) Returns the latest time of Kidush Levana according to the Maharil's opinion that it is calculated as halfway between molad and molad.This method returns the latest zman krias shema (time to recite Shema in the morning) calculated as 3 hours (regular clock hours and not shaos zmaniyos) beforeZmanimCalendar.getChatzosHayom().This method returns the latest zman krias shema (time to recite Shema in the morning) based on the opinion that the day starts atalos 16.1°and ends atsea level sunset.This method returns the latest zman krias shema (time to recite Shema in the morning) based on the opinion that the day starts atalos 16.1°and ends attzais 7.083°. 3 shaos zmaniyos are calculated based on this day and added toalosto reach this time.This method returns the latest zman krias shema (time to recite Shema in the morning) based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)).This method returns the latest zman krias shema (time to recite Shema in the morning).This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the GRA that the day is calculated from sunrise to sunset, but calculated using the first half of the day only.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes or 1/6th of the day beforesunrise.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise.This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being18°beforesunrise.This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being19.8°beforesunrise.This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos, or 1/10th of the day beforesunrise.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes beforesunrise.This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes beforesunrise.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) calculated as 2 hours beforeZmanimCalendar.getChatzosHayom().This method returns the latest zman tfila (time to recite the morning prayers) based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)).This method returns the latest zman tfilah (time to recite the morning prayers).This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman tfila (zman tfilah (the latest time to recite the morning prayers)) according to the opinion of the GRA that the day is calculated from sunrise to sunset, but calculated using the first half of the day only.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being18°beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being19.8°beforesunrise.This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes beforesunrise.This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise.This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes beforesunrise.This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise.A method that returns sunrise if it occurs, or the time that the sun is at its easternmost position (azimuth of 900°), if sunset will not occur on that day, such as in the Arctic or Antarctic circles.A method that returns sunset if it occurs, or the time that the sun is at its westernmost position (azimuth of 270°), if sunset will not occur on that day, such as in the Arctic or Antarctic circles.Returns the earliest time of Kiddush Levana according to Rabbeinu Yonah's opinion that it can be said 3 days after the molad.getTchilasZmanKidushLevana3Days(Instant alos, Instant tzais) Returns the earliest time of Kiddush Levana according to Rabbeinu Yonah's opinion that it can be said 3 days after the molad.Returns the earliest time of Kiddush Levana according to the opinions that it should not be said until 7 days after the molad.getTchilasZmanKidushLevana7Days(Instant alos, Instant tzais) Returns the earliest time of Kiddush Levana according to the opinions that it should not be said until 7 days after the molad.Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc.Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc.This calculates the time of tzais at the point when the sun is 16.1° below the horizon.For information on how this is calculated see the comments ongetAlos18Degrees()For information on how this is calculated see the comments ongetAlos19Point8Degrees().Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc.Method to return tzais (dusk) calculated as 50 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting).This method returns the tzais (nightfall) based on the opinion of the Chavas Yair and Divrei Malkiel that the time to walk the distance of a mil is 15 minutes, for a total of 60 minutes for 4 mil aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting).Method to return tzais (dusk) calculated as 72 minutes zmaniyos, or 1/10th of the day aftersea level sunset.Method to return tzais (dusk) calculated as 90 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting).Method to return tzais (dusk) calculated using 90 minutes zmaniyos or 1/8th of the day aftersea level sunset.A method to return tzais (dusk) calculated as 96 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting).Method to return tzais (dusk) calculated using 96 minutes zmaniyos or 1/7.5 of the day aftersea level sunset.This method returns tzais usually calculated as 40 minutes (configurable to any offset viasetAteretTorahSunsetOffset(double)) after sunset.A method that returns tzais (nightfall) when the sun is 6° below the western geometric horizon (90°) aftersunset.Deprecated.Deprecated.Deprecated.Deprecated.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as the sun's position below the horizon at a time of 18.6 minutes after sunset.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at5.95°below belowgeometric zenith(90°), calculated as the position of the sun 24 minutes after sunset in Jerusalem around the equinox / equilux.This method returns the tzais (nightfall) based on the opinion of the Geonim as calculated by Rabbi Yechiel Michel Tucazinsky as the position of the sun no later than 31 minutes after sea-level sunset in Jerusalem (the Birur halacha shows that Rav Tucazinsky's calculations for sunset, listed as 28 minutes in this case, were about 3 minutes later than reality), and at the height of the summer solstice,this zman, calculatons show that 30.75 minutes after shkiah computes to 6.45° belowgeometric zenith.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated when the sun's position7.083° (or 7° 5′) below the western horizon.This method returns tzais (nightfall) based on the opinion of the Geonim calculated as 45 minutes after sunset during the summer solstice in New York, when the neshef (twilight) is the longest.This method returns the tzais (nightfall) based on the calculations used in the Luach Itim Lebinah as the stringent time for tzais.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as 60 minutes after sunset around the equinox / equilux, the day that a solar hour is 60 minutes in New York.Returns the point in time of Molad as aInstantObject.inthashCode()voidsetAteretTorahSunsetOffset(double ateretTorahSunsetOffset) Allows setting the offset in minutes after sunset for the Ateret Torah zmanim.Methods inherited from class ZmanimCalendar
getAlos16Point1Degrees, getAlos72Minutes, getCandleLighting, getCandleLightingOffset, getChatzos, getChatzosHalayla, getChatzosHayom, getChatzosHayomAsHalfDay, getHalfDayBasedShaahZmanis, getHalfDayBasedZman, getMinchaGedola, getMinchaGedola, getMinchaGedolaGRA, getMinchaKetana, getMinchaKetana, getMinchaKetanaGRA, getPercentOfShaahZmanisFromDegrees, getPlagHamincha, getPlagHamincha, getPlagHaminchaGRA, getSamuchLeMinchaKetana, getSamuchLeMinchaKetana, getShaahZmanis72Minutes, getShaahZmanisBasedZman, getShaahZmanisGRA, getSofZmanAchilasChametz, getSofZmanBiurChametz, getSofZmanShma, getSofZmanShma, getSofZmanShmaGRA, getSofZmanShmaMGA72Minutes, getSofZmanTfila, getSofZmanTfila, getSofZmanTfilaGRA, getSofZmanTfilaMGA72Minutes, getSunriseBaalHatanya, getSunriseBasedOnElevationSetting, getSunsetBaalHatanya, getSunsetBasedOnElevationSetting, getTzais72Minutes, getTzaisGeonim8Point5Degrees, getZmanisBasedOffset, isAssurBemelacha, isUseAstronomicalChatzos, isUseAstronomicalChatzosForOtherZmanim, isUseElevation, setCandleLightingOffset, setUseAstronomicalChatzos, setUseAstronomicalChatzosForOtherZmanim, setUseElevationModifier and TypeMethodDescriptionReturns alos (dawn) based on the time when the sun is16.1°below the easterngeometric horizonbeforesunrise.Method to return alos (dawn) calculated as 72 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting).A method to return candle lighting time, calculated asZmanimCalendar.getCandleLightingOffset()minutes beforesea level sunset.doubleA method to get the offset in minutes beforesea level sunsetwhich is used in calculating candle lighting time.getChatzos(Instant begin, Instant end) A method that returns chatzos (hayom or layla) calculated as halfway between the begin and end times passed in.A method that returns chatzos halayla at the end of the day (the last zman of the day returned by the calendar, that may actually be after midnight of the day it is being calculated for).This method returnsAstronomical chatzos hayomif thecalculatorclass used supports it andisUseAstronomicalChatzos()is set to true or thehalfway point between sunrise and sunsetif it does not support it, or it is not configured to use it.Returns chatzos calculated as halfway between sunrise and sunset.longgetHalfDayBasedShaahZmanis(Instant startOfHalfDay, Instant endOfHalfDay) A utility method to calculate the length of a sha'ah zmanis based on 1/6 of a 6-hour day.getHalfDayBasedZman(Instant startOfHalfDay, Instant endOfHalfDay, double hours) A utility method to calculate zmanim based on Rav Moshe Feinstein and others as calculated in MTJ, Yeshiva of Staten Island, and Camp Yeshiva of Staten Island and other calendars.getMinchaGedola(Instant startOfDay, Instant endOfDay) A generic method for calculating mincha gedola that callsZmanimCalendar.getMinchaGedola(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getMinchaGedola(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating mincha gedola (the earliest time to recite the mincha prayers) that is 6.5 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.This method returns the latest mincha gedola,the earliest time one can pray mincha that is 6.5 *shaos zmaniyos(solar hours) aftersunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting), according to the GRA.getMinchaKetana(Instant startOfDay, Instant endOfDay) A generic method for calculating mincha ketana that callsZmanimCalendar.getMinchaKetana(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getMinchaKetana(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating mincha ketana, (the preferred time to recite the mincha prayers in the opinion of the Rambam and others) that is 9.5 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.This method returns mincha ketana,the preferred earliest time to pray mincha in the opinion of the Rambam and others, that is 9.5 *shaos zmaniyos(solar hours) aftersunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting), according to the GRA.doublegetPercentOfShaahZmanisFromDegrees(double degrees, boolean sunset) A utility method that returns the percentage of a shaah zmanis after sunset (or before sunrise) for a given degree offset.getPlagHamincha(Instant startOfDay, Instant endOfDay) A generic method for calculating plag hamincha that callsZmanimCalendar.getPlagHamincha(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getPlagHamincha(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating plag hamincha (the earliest time that Shabbos can be started) that is 10.75 hours after the start of the day, (or 1.25 hours before the end of the day) based on the start and end of the day passed to the method.This method returns plag hamincha, that is 10.75 *shaos zmaniyos(solar hours) aftersunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting), according to the GRA.getSamuchLeMinchaKetana(Instant startOfDay, Instant endOfDay) A generic method for calculating samuch lemincha ketana that callsZmanimCalendar.getSamuchLeMinchaKetana(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getSamuchLeMinchaKetana(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetana(java.time.Instant,java.time.Instant)or 9 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.longA method that returns a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on a 72-minute alos and tzais.getShaahZmanisBasedZman(Instant startOfDay, Instant endOfDay, double hours) A generic utility method for calculating any shaah zmanis (temporal hour) based zman with the day defined as the start and end of day (or night) and the number of shaos zmaniyos passed to the method.longA method that returns a shaah zmanis (temporal hour) according to the opinion of the GRA.getSofZmanAchilasChametz(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating sof zman achilas chametz or the latest time one is allowed eating chametz on Erev Pesach that is 4 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.getSofZmanBiurChametz(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating sof zman biur chametz or the latest time one is allowed burning chametz on Erev Pesach that is 5 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.getSofZmanShma(Instant startOfDay, Instant endOfDay) A generic method for calculating the latest zman krias shema that callsZmanimCalendar.getSofZmanShma(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getSofZmanShma(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating the latest zman krias shema (time to recite shema in the morning) that is 3 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.This method returns the latest zman krias shema (time to recite shema in the morning) that is 3 *shaos zmaniyos(solar hours) aftersunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting), according to the GRA.This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes beforesunrise.getSofZmanTfila(Instant startOfDay, Instant endOfDay) A generic method for calculating the latest zman tfila that callsZmanimCalendar.getSofZmanTfila(java.time.Instant,java.time.Instant,boolean)passingfalseto the synchronous parameter since there is no way to know if the start and end of the day are synchronous.getSofZmanTfila(Instant startOfDay, Instant endOfDay, boolean synchronous) A generic method for calculating the latest zman tfilah (time to recite the morning prayers) that is 4 * shaos zmaniyos (temporal hours) after the start of the day, calculated using the start and end of the day passed to this method.This method returns the latest zman tfila (time to recite shema in the morning) that is 4 *shaos zmaniyos(solar hours) aftersunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting), according to the GRA.This method returns the latest zman tfila (time to recite shema in the morning) that is 4 *shaos zmaniyos(solar hours) afterZmanimCalendar.getAlos72Minutes(), according to the Magen Avraham (MGA).protected InstantA method that returns the Baal Hatanya's netz amiti (sunrise) withoutelevation adjustment.protected InstantThis method will returnsea level sunriseifZmanimCalendar.isUseElevation()is false (the default), or elevation adjustedAstronomicalCalendar.getSunrise()if it is true.protected InstantA method that returns the Baal Hatanya's shkiah amiti (sunset) withoutelevation adjustment.protected InstantThis method will returnsea level sunriseifZmanimCalendar.isUseElevation()is false (the default), or elevation adjustedAstronomicalCalendar.getSunrise()if it is true.This method returns the tzais (nightfall) based on the opinion of Rabbeinu Tam that tzais hakochavim is calculated as 72 minutes after sunset, the time it takes to walk 4 mil at 18 minutes a mil.A method that returns tzais (nightfall) when the sun is8.5°below thegeometric horizon(90°) aftersunset, a time that Rabbi Meir Posen in his the Ohr Meir calculated that 3 small stars are visible, which is later than the required 3 medium stars.getZmanisBasedOffset(double hours) A utility method to return alos (dawn) or tzais (dusk) based on a fractional day offset.booleanisAssurBemelacha(Instant currentTime, Instant tzais, boolean inIsrael) This is a utility method to determine if the current Instant passed in has a melacha (work) prohibition.booleanIsastronomical chatzosused forZmanimCalendar.getChatzosHayom()andZmanimCalendar.getChatzosHalayla()for enhanced accuracy.booleanIs astronomical chatzos used for zmanim calculations besides chatzos itself for enhanced accuracy.booleanIs elevation above sea level calculated for times besides sunrise and sunset.voidsetCandleLightingOffset(double candleLightingOffset) A method to set the offset in minutes beforesea level sunsetthat is used in calculating candle lighting time.voidsetUseAstronomicalChatzos(boolean useAstronomicalChatzos) Sets if astronomical chatzos should be used in calculations of other zmanim for enhanced accuracy.voidsetUseAstronomicalChatzosForOtherZmanim(boolean useAstronomicalChatzosForOtherZmanim) Sets if astronomical chatzos should be used in calculations of other zmanim for enhanced accuracy.voidsetUseElevation(boolean useElevation) Sets whether elevation above sea level is factored into zmanim calculations for times besides sunrise and sunset.Methods inherited from class AstronomicalCalendar
clone, getAdjustedLocalDate, getAstronomicalCalculator, getBeginAstronomicalTwilight, getBeginCivilTwilight, getBeginNauticalTwilight, getEndAstronomicalTwilight, getEndCivilTwilight, getEndNauticalTwilight, getGeoLocation, getInstantFromTime, getLocalDate, getLocalMeanTime, getMidnightLastNight, getMidnightTonight, getSeaLevelSunrise, getSeaLevelSunset, getSolarMidnight, getSunrise, getSunriseOffsetByDegrees, getSunriseSolarDipFromOffset, getSunset, getSunsetOffsetByDegrees, getSunsetSolarDipFromOffset, getSunTransit, getSunTransit, getTemporalHour, getTemporalHour, getTimeAtAzimuth, getTimeOffset, getTimeOffset, getUTCSeaLevelSunrise, getUTCSeaLevelSunset, getUTCSunrise, getUTCSunset, setAstronomicalCalculator, setGeoLocation, setLocalDate, toJSON, toStringModifier and TypeMethodDescriptionclone()A method that creates a deep copy of the object.protected LocalDateAdjusts theLocalDateto deal with edge cases where the location crosses the antimeridian.A method that returns the currently set AstronomicalCalculator.A method that returns the beginning of astronomical twilight using a zenith of108°.A method that returns the beginning of civil twilight (dawn) using a zenith of96°.A method that returns the beginning of nautical twilight using a zenith of102°.A method that returns the end of astronomical twilight using a zenith of108°.A method that returns the end of civil twilight using a zenith of96°.A method that returns the end of nautical twilight using a zenith of102°.A method that returns the currently setGeoLocationwhich contains location information used for the astronomical calculations.protected InstantgetInstantFromTime(double time, AstronomicalCalendar.SolarEvent solarEvent) A method that returns anInstantfrom the time passed in as a parameter.returns theLocalDateobject encapsulated in this class.getLocalMeanTime(LocalTime localTime) A method that returns local mean time (LMT) time converted to regular clock time for the local wall-clock time passed to this method.protected ZonedDateTimeUsed by Molad based zmanim to determine if zmanim occur during the current day.protected ZonedDateTimeUsed by Molad based zmanim to determine if zmanim occur during the current day.A method that returns the sunrise withoutelevation adjustment.A method that returns the sunset withoutelevation adjustment.A method that returns solar midnight as the end of the day (that may actually be after midnight of the day it is being calculated for).The getSunrise method returns aInstantrepresenting the#getElevationAdjustment(double) elevation adjustedsunrise time.getSunriseOffsetByDegrees(double offsetZenith) A utility method that returns the time of an offset by degrees below or above the horizon ofsunrise.doublegetSunriseSolarDipFromOffset(double minutes) Deprecated.This method is slow and inefficient and should NEVER be used in a loop.The getSunset method returns anInstantrepresenting theelevation adjustedsunset time.getSunsetOffsetByDegrees(double offsetZenith) A utility method that returns the time of an offset by degrees below or above the horizon ofsunset.doublegetSunsetSolarDipFromOffset(double minutes) Deprecated.This method is slow and inefficient and should NEVER be used in a loop.A method that returns sundial or solar noon.getSunTransit(Instant startOfDay, Instant endOfDay) A method that returns sundial or solar noon (or midnight) calculated as halfway between the times passed in.longA method that returns a sea-level based temporal (solar) hour.longgetTemporalHour(Instant startOfDay, Instant endOfDay) A utility method that will allow the calculation of a temporal (solar) hour based on the sunrise and sunset passed as parameters to this method.getTimeAtAzimuth(double azimuth) Return the time at a given azimuth.static InstantgetTimeOffset(Instant time, double offset) A utility method that returns a date offset by the offset time passed in as a parameter.static InstantgetTimeOffset(Instant time, long offsetMillis) A utility method that returns anInstantoffset by the offset time passed in.doublegetUTCSeaLevelSunrise(double zenith) A method that returns the sunrise in UTC time without correction for time zone offset from GMT and without using daylight savings time.doublegetUTCSeaLevelSunset(double zenith) A method that returns the sunset in UTC time without correction for elevation, time zone offset from GMT and without using daylight savings time.doublegetUTCSunrise(double zenith) A method that returns the sunrise in UTC time without correction for time zone offset from GMT and without using daylight savings time.doublegetUTCSunset(double zenith) A method that returns the sunset in UTC time without correction for time zone offset from GMT and without using daylight savings time.voidsetAstronomicalCalculator(AstronomicalCalculator astronomicalCalculator) A method to set theAstronomicalCalculatorused for astronomical calculations.voidsetGeoLocation(GeoLocation geoLocation) Sets theGeoLocationObjectto be used for astronomical calculations.voidsetLocalDate(LocalDate localDate) Sets theLocalDateobject for us in this class.toJSON()Returns a JSON formatted representation of the class using the default output of thetoJSONmethod.toString()Returns an XML formatted representation of the class using the default output of thetoXMLmethod.
-
Field Details
-
ZENITH_3_POINT_7
The zenith of 3.7° belowgeometric zenith(90°).- See Also:
-
ZENITH_3_POINT_8
The zenith of 3.8° belowgeometric zenith(90°).- See Also:
-
ZENITH_5_POINT_95
The zenith of 5.95° belowgeometric zenith(90°).- See Also:
-
ZENITH_7_POINT_083
The zenith of 7.083° belowgeometric zenith(90°). This is often referred to as 7°5' (7° and 5 minutes).- See Also:
-
ZENITH_10_POINT_2
The zenith of 10.2° belowgeometric zenith(90°).- See Also:
-
ZENITH_11_DEGREES
The zenith of 11° belowgeometric zenith(90°).- See Also:
-
ZENITH_11_POINT_5
The zenith of 11.5° belowgeometric zenith(90°).- See Also:
-
ZENITH_12_POINT_85
The zenith of 12.85° belowgeometric zenith(90°).- See Also:
-
ZENITH_13_POINT_24
The zenith of 13.24° belowgeometric zenith(90°).- See Also:
-
ZENITH_19_DEGREES
The zenith of 19° belowgeometric zenith(90°).- See Also:
-
ZENITH_19_POINT_8
The zenith of 19.8° belowgeometric zenith(90°).- See Also:
-
ZENITH_26_DEGREES
The zenith of 26° belowgeometric zenith(90°).- See Also:
-
ZENITH_4_POINT_42
The zenith of 4.42° belowgeometric zenith(90°).- See Also:
-
ZENITH_4_POINT_66
The zenith of 4.66° belowgeometric zenith(90°).- See Also:
-
ZENITH_4_POINT_8
The zenith of 4.8° belowgeometric zenith(90°).- See Also:
-
ZENITH_16_POINT_9
The zenith of 16.9° below geometric zenith (90°).- See Also:
-
ZENITH_6_DEGREES
The zenith of 6° belowgeometric zenith(90°).- See Also:
-
ZENITH_6_POINT_45
The zenith of 6.45° belowgeometric zenith(90°).- See Also:
-
ZENITH_7_POINT_65
The zenith of 7.65° belowgeometric zenith(90°).- See Also:
-
ZENITH_7_POINT_67
The zenith of 7.67° belowgeometric zenith(90°).- See Also:
-
ZENITH_9_POINT_3
The zenith of 9.3° belowgeometric zenith(90°).- See Also:
-
ZENITH_9_POINT_5
The zenith of 9.5° belowgeometric zenith(90°).- See Also:
-
ZENITH_9_POINT_75
The zenith of 9.75° belowgeometric zenith(90°). This calculation is used for calculating alos (dawn) and tzais (nightfall) according to some opinions.- See Also:
-
ZENITH_MINUS_2_POINT_1
The zenith of 2.1° abovegeometric zenith(90°). This calculation is used for calculating the start of bain hashmashos (twilight) of 13.5 minutes before sunset converted to degrees according to the Yereim. As is traditional with degrees below the horizon, this is calculated without refraction and from the center of the sun. It would be 0.833° less without this.- See Also:
-
ZENITH_MINUS_2_POINT_8
The zenith of 2.8° abovegeometric zenith(90°). This calculation is used for calculating the start of bain hashmashos (twilight) of 16.875 minutes before sunset converted to degrees according to the Yereim. As is traditional with degrees below the horizon, this is calculated without refraction and from the center of the sun. It would be 0.833° less without this.- See Also:
-
ZENITH_MINUS_3_POINT_05
The zenith of 3.05° abovegeometric zenith(90°). This calculation is used for calculating the start of bain hashmashos (twilight) of 18 minutes before sunset converted to degrees according to the Yereim. As is traditional with degrees below the horizon, this is calculated without refraction and from the center of the sun. It would be 0.833° less without this.- See Also:
-
ateretTorahSunsetOffset
The offset in minutes (defaults to 40) after sunset used for tzeit based on calculations of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah.- See Also:
-
-
Constructor Details
-
ComprehensiveZmanimCalendar
A constructor that takes aGeoLocationas a parameter.- Parameters:
location- the location- See Also:
-
ComprehensiveZmanimCalendar
public ComprehensiveZmanimCalendar()Default constructor will set a defaultGeoLocation(), a defaultAstronomicalCalculatorand default the calendar to the current date.- See Also:
-
-
Method Details
-
getShaahZmanis19Point8Degrees
Method to return a shaah zmanis (temporal hour) calculated using a 19.8° dip. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is when the sun is 19.8° below the eastern geometric horizon before sunrise. Dusk for this is when the sun is 19.8° below the western geometric horizon after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.- Returns:
- the
longmillisecond length of a shaah zmanis. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getShaahZmanis18Degrees
Method to return a shaah zmanis (temporal hour) calculated using a 18° dip. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is when the sun is 18° below the eastern geometric horizon before sunrise. Dusk for this is when the sun is 18° below the western geometric horizon after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.- Returns:
- the
longmillisecond length of a shaah zmanis. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getShaahZmanis26Degrees
Method to return a shaah zmanis (temporal hour) calculated using a dip of 26°. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is when the sun is26°below the eastern geometric horizon before sunrise. Dusk for this is when the sun is26°below the western geometric horizon after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. Since zmanim that use this method are extremely late or early and at a point when the sky is a long time past the 18° point where the darkest point is reached, zmanim that use this should only be used lechumra, such as delaying the start of nighttime mitzvos.- Returns:
- the
longmillisecond length of a shaah zmanis. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis16Point1Degrees
Method to return a shaah zmanis (temporal hour) calculated using a dip of 16.1°. This calculation divides the day based on the opinion that the day runs from dawn to dusk. Dawn for this calculation is when the sun is 16.1° below the eastern geometric horizon before sunrise and dusk is when the sun is 16.1° below the western geometric horizon after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.- Returns:
- the
longmillisecond length of a shaah zmanis. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis60Minutes
Method to return a shaah zmanis (solar hour) according to the opinion of the Magen Avraham (MGA). This calculation divides the day based on the opinion of the MGA that the day runs from dawn to dusk. Dawn for this calculation is 60 minutes before sunrise and dusk is 60 minutes after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. Alternate methods of calculating a shaah zmanis are available in the subclassComprehensiveZmanimCalendar.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis72MinutesZmanis
Method to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos beforesunrise. This calculation divides the day based on the opinion of the MGA that the day runs from dawn to dusk. Dawn for this calculation is 72 minutes zmaniyos before sunrise and dusk is 72 minutes zmaniyos after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. This is identical to 1/10th of the day fromsunrisetosunset.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis90Minutes
Method to return a shaah zmanis (temporal hour) calculated using a dip of 90 minutes. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is 90 minutes before sunrise and dusk is 90 minutes after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getShaahZmanis90MinutesZmanis
Method to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise. This calculation divides the day based on the opinion of the MGA that the day runs from dawn to dusk. Dawn for this calculation is 90 minutes zmaniyos before sunrise and dusk is 90 minutes zmaniyos after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. This is 1/8th of the day fromsunrisetosunset.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis96MinutesZmanis
Method to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise. This calculation divides the day based on the opinion of the MGA that the day runs from dawn to dusk. Dawn for this calculation is 96 minutes zmaniyos before sunrise and dusk is 96 minutes zmaniyos after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. This is identical to 1/7.5th of the day fromsunrisetosunset.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanisAteretTorah
Method to return a shaah zmanis (temporal hour) according to the opinion of the Chacham Yosef Harari-Raful of Yeshivat Ateret Torah calculated with alos being 1/10th of sunrise to sunset day, or72minutes zmaniyos of such a day beforesunrise, and tzais is usually calculated as40 minutes(configurable to any offset viasetAteretTorahSunsetOffset(double)) aftersunset. This day is split into 12 equal parts with each part being a shaah zmanis. Note that with this system, chatzos (midday) will not be the point that the sun ishalfway across the sky.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanisAlos16Point1ToTzais3Point8
Method to return a shaah zmanis (temporal hour) used by some zmanim according to the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that is based on a day starting 72 minutes before sunrise in degreesalos 16.1°and ending 14 minutes after sunset in degreestzais 3.8°. This day is split into 12 equal parts with each part being a shaah zmanis. Note that with this system, chatzos (midday) will not be the point that the sun ishalfway across the sky. These shaos zmaniyos are used for Mincha Ketana and Plag Hamincha. The 14 minutes are based on 3/4 of an 18 minute mil, with half a minute added for Rav Yosi.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanisAlos16Point1ToTzais3Point7
Method to return a shaah zmanis (temporal hour) used by some zmanim according to the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that is based on a day starting 72 minutes before sunrise in degreesalos 16.1°and ending 13.5 minutes after sunset in degreestzais 3.7°. This day is split into 12 equal parts with each part being a shaah zmanis. Note that with this system, chatzos (midday) will not be the point that the sun ishalfway across the sky. These shaos zmaniyos are used for Mincha Gedola calculation.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis96Minutes
Method to return a shaah zmanis (temporal hour) calculated using a dip of 96 minutes. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is 96 minutes before sunrise and dusk is 96 minutes after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getShaahZmanis120Minutes
Method to return a shaah zmanis (temporal hour) calculated using a dip of 120 minutes. This calculation divides the day based on the opinion of the Magen Avraham (MGA) that the day runs from dawn to dusk. Dawn for this calculation is 120 minutes before sunrise and dusk is 120 minutes after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. Since zmanim that use this method are extremely late or early and at a point when the sky is a long time past the 18° point where the darkest point is reached, zmanim that use this should only be used lechumra only, such as delaying the start of nighttime mitzvos.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanis120MinutesZmanis
Method to return a shaah zmanis (temporal hour) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes zmaniyos beforesunrise. This calculation divides the day based on the opinion of the MGA that the day runs from dawn to dusk. Dawn for this calculation is 120 minutes zmaniyos before sunrise and dusk is 120 minutes zmaniyos after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. This is identical to 1/6th of the day fromsunrisetosunset. Since zmanim that use this method are extremely late or early and at a point when the sky is a long time past the 18° point where the darkest point is reached, zmanim that use this should only be used lechumra such as delaying the start of nighttime mitzvos.- Returns:
- the
longmillisecond length of a shaah zmanis. 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, aLong.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha120MinutesZmanis
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on sunrise being 120 minutes zmaniyos or 1/6th of the day before sunrise. This is calculated as 10.75 hours afterdawn. The formula used is 10.75 *getShaahZmanis120MinutesZmanis()afterdawn. Since the zman based on an extremely early alos and a very late tzais, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha120Minutes
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha according to the Magen Avraham with the day starting 120 minutes before sunrise and ending 120 minutes after sunset. This is calculated as 10.75 hours afterdawn 120 minutes. The formula used is 10.75getShaahZmanis120Minutes()aftergetAlos120Minutes(). Since the zman based on an extremely early alos and a very late tzais, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos60Minutes
Method to return alos (dawn) calculated as 60 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting). This is the time to walk the distance of 4 mil at 15 minutes a mil. This seems to be the opinion of the Chavas Yair in the Mekor Chaim, Orach Chaim Ch. 90, though the Mekor Chaim in Ch. 58 and in the Chut Hashani Ch. 97 states that a person walks 3 and a 1/3 mil in an hour, or an 18-minute mil. Also see the Divrei Malkiel Vol. 4, Ch. 20, page 34) who mentions the 15 minute mil lechumra by baking matzos. Also see the Maharik Ch. 173 where the questioner quoting the Ra'avan is of the opinion that the time to walk a mil is 15 minutes (5 mil in a little over an hour). There are many who believe that there is a ta'us sofer (scribe's error) in the Ra'avan, and it should 4 mil in a little over an hour, or an 18-minute mil. Time based offset calculations are based on the opinion of the Rishonim who stated that the time of the neshef (time between dawn and sunrise) does not vary by the time of year or location but purely depends on the time it takes to walk the distance of 4* mil.getTzaisGeonim9Point75Degrees()is a related zman that is a degree-based calculation based on 60 minutes.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendar. documentation. - See Also:
-
getAlos72Zmanis
Method to return alos (dawn) calculated using 72 minutes zmaniyos or 1/10th of the day before sunrise. This is based on an 18-minute mil so the time for 4 mil is 72 minutes which is 1/10th of a day (12 * 60 = 720) based on the day being fromsea level sunrisetosea level sunsetorsunrisetosunset(depending on theZmanimCalendar.isUseElevation()setting). The actual calculation isZmanimCalendar.getSunriseBasedOnElevationSetting()- (ZmanimCalendar.getShaahZmanisGRA()* 1.2). This calculation is used in the calendars published by the Hisachdus Harabanim D'Artzos Habris Ve'Canada.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos96Minutes
Method to return alos (dawn) calculated using 96 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting) that is based on the time to walk the distance of 4 mil at 24 minutes a mil. Time based offset calculations for alos are based on the opinion of the Rishonim who stated that the time of the Neshef (time between dawn and sunrise) does not vary by the time of year or location but purely depends on the time it takes to walk the distance of 4 mil.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getAlos90Zmanis
Method to return alos (dawn) calculated using 90 minutes zmaniyos or 1/8th of the day beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting). This is based on a 22.5-minute mil so the time for 4 mil is 90 minutes which is 1/8th of a day (12 * 60) / 8 = 90. The day is calculated fromsea level sunrisetosea level sunsetorsunrisetosunset(depending on theZmanimCalendar.isUseElevation(). The actual calculation used isZmanimCalendar.getSunriseBasedOnElevationSetting()- (ZmanimCalendar.getShaahZmanisGRA()* 1.5).- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos96Zmanis
This method returns alos (dawn) calculated using 96 minutes zmaniyos or 1/7.5th of the day beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting). This is based on a 24-minute mil so the time for 4 mil is 96 minutes which is 1/7.5th of a day (12 * 60 / 7.5 = 96). The day is calculated fromsea level sunrisetosea level sunsetorsunrisetosunset(depending on theZmanimCalendar.isUseElevation(). The actual calculation used isZmanimCalendar.getSunriseBasedOnElevationSetting()- (ZmanimCalendar.getShaahZmanisGRA()* 1.6).- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos90Minutes
Method to return alos (dawn) calculated using 90 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting) based on the time to walk the distance of 4 mil at 22.5 minutes a mil. Time-based offset calculations for alos are based on the opinion of the Rishonim who stated that the time of the Neshef (time between dawn and sunrise) does not vary by the time of year or location but purely depends on the time it takes to walk the distance of 4 mil.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getAlos120Minutes
Deprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns alos (dawn) calculated using 120 minutes beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting) based on the time to walk the distance of 5 mil (Ula) at 24 minutes a mil. Time based offset calculations for alos are based on the* opinion of the Rishonim who stated that the time of the neshef (time between dawn and sunrise) does not vary by the time of year or location but purely depends on the time it takes to walk the distance of 5 mil (Ula). Since this time is extremely early, it should only be used lechumra, such as not eating after this time on a fast day, and not as the start time for mitzvos that can only be performed during the day.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos120Zmanis
Deprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and method returns alos (dawn) calculated using 120 minutes zmaniyos or 1/6th of the day beforesunriseorsea level sunrise(depending on theZmanimCalendar.isUseElevation()setting). This is based on a 24-minute mil so the time for 5 mil is 120 minutes which is 1/6th of a day (12 * 60 / 6 = 120). The day is calculated fromsea level sunrisetosea level sunsetorsunrisetosunset(depending on theZmanimCalendar.isUseElevation(). The actual calculation used isAstronomicalCalendar.getSunset()- (ZmanimCalendar.getShaahZmanisGRA()* 2). Since this time is extremely early, it should only be used lechumra, such as not eating after this time on a fast day, and not as the start time for mitzvos that can only be performed during the day.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos26Degrees
Deprecated.This method should be used lechumra only (such as stopping to eat at this time on a fast day), since it returns a very early time, and if used lekula can result in doing mitzvos hayom too early according to most opinions. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns alos (dawn) calculated when the sun is26°below the eastern geometric horizon before sunrise. This calculation is based on the same calculation of120 minutesbut uses a degree-based calculation instead of 120 exact minutes. This calculation is based on the position of the sun 120 minutes before sunrise in Jerusalem around the equinox / equilux, which calculates to 26° belowgeometric zenith. Since this time is extremely early, it should only be used lechumra only, such as not eating after this time on a fast day, and not as the start time for mitzvos that can only be performed during the day.- Returns:
- the
Instantrepresenting alos. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos18Degrees
A method to return alos (dawn) calculated when the sun is18°below the eastern geometric horizon before sunrise.- Returns:
- the
Instantrepresenting alos. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlos19Degrees
A method to return alos (dawn) calculated when the sun is19°below the eastern geometric horizon before sunrise. This is the Rambam's alos according to Rabbi Moshe Kosower's Maaglei Tzedek, page 88, Ayeles Hashachar Vol. I, page 12, Yom Valayla Shel Torah, Ch. 34, p. 222 and Rabbi Yaakov Shakow's Luach Ikvei Hayom.- Returns:
- the
Instantrepresenting alos. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getAlos19Point8Degrees
Method to return alos (dawn) calculated when the sun is19.8°below the eastern geometric horizon before sunrise. This calculation is based on the same calculation of90 minutesbefore sunrise, but uses a degree-based calculation instead of 90 exact minutes. This calculation is based on the position of the sun 90 minutes before sunrise in Jerusalem around the equinox / equilux, which calculates to 19.8° belowgeometric zenith.- Returns:
- the
Instantrepresenting alos. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMisheyakir12Point85Degrees
Deprecated.This method returns a very early misheyakir time that should only be used bish'as hadchak. Lechatchila, a later zman should be used. There is no current plan to remove this method from the API, and this deprecation is intended to notify developers to add an alert to users of the risk of using it.This method returns misheyakir based on the position of the sun12.85°belowgeometric zenith(90°). This is based on the position of the sun slightly later than 57 minutes beforesunrisein Jerusalem around the equinox / equilux. This zman is mentioned for use bish'as hadchak in the Birur Halacha Tinyana and Tlisa'ah in Orach Chaim siman 18 as 12.85°. Actual calculations show it to be slightly more than 12.9°, but the Birur Halacha indicates that 12.85° is a slight chumra (on a bedieved time) VS the 12.9° that 57 minutes calculates as (a difference of about 14 seconds at the equinox/equilux in Jerusalem). The zman of 12.9° is also mentioned in the Piskei Tshuvos siman 18, page 190 (where a typo indicates that this is the degree equivalent to 60 minutes before sunrise, when in fact at that point the sun is about 13.5° below the horizon). The 57 minute based time is mentioned by the Minchas Yitzchak vol. 9, siman 9 as 15 minutes before alos hashachar (though he is not clear what location he refers to, and does not mention a degree-based conversion). The Kaf Hachaim vol.1 siman 18, no. 18 states that in Yerushalayim 60 fixed minutes are used year round. Calculations show that 60 fixed minutes in Yerushalayim ranges from 13.5° at the spring equinox to 11.5° at the summer solstice. 57-minute misheyakir range from 12.9° at the winter equinox to 11° at the summer solstice. Analysis of the difference between 12.85° and 12.9°, shows that the maximum difference occurs at the summer solstice. In Lakewood, NJ at a latitude of 40.096°, the maximum difference throughout the year is 23 seconds. In the winter where there is the greatest need for very early misheyakir times, the difference is in the 16 second range. Going north to Montreal at latitude 45.5°, the maximum is 29 seconds and is about 18 seconds in the winter. Moving farther north to the latitude of Vilnius at a latitude of 54.68°, things change. Firstly, around the summer solstice it will not reach that far below the horizon. On the dates that both can be calculated, the maximum difference can be pretty high on one or two days of the year (around Jul 8), with about a week having over a two minute difference between the two. Even at the latitude of Vilna, from Dec - March, the difference is about 22 seconds.- Returns:
- The
Instantof misheyakir. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMisheyakir11Point5Degrees
This method returns misheyakir based on the position of the sun when it is11.5°belowgeometric zenith(90°). This calculation is used for calculating misheyakir according to some opinions. This calculation is based on the position of the sun 52 minutes beforesunrisein Jerusalem around the equinox / equilux, which calculates to 11.5° belowgeometric zenith.- Returns:
- the
Instantof misheyakir. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- recalculate.
-
getMisheyakir11Degrees
This method returns misheyakir based on the position of the sun when it is11°belowgeometric zenith(90°). This calculation is used for calculating misheyakir according to some opinions. This calculation is based on the position of the sun 48 minutes beforesunrisein Jerusalem around the equinox / equilux, which calculates to 11° belowgeometric zenith.- Returns:
- If the calculation can't be computed such as northern and southern locations even south of the Arctic
Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for
this calculation, a
nullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMisheyakir10Point2Degrees
This method returns misheyakir based on the position of the sun when it is10.2°belowgeometric zenith(90°). This calculation is used for calculating misheyakir according to some opinions. This calculation is based on the position of the sun 45 minutes beforesunrisein Jerusalem around the equinox which calculates to 10.2° belowgeometric zenith.- Returns:
- the
Instantof misheyakir. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMisheyakir7Point65Degrees
This method returns misheyakir based on the position of the sun when it is7.65°belowgeometric zenith(90°). The degrees are based on a 35/36 minute zman around the equinox / equilux, when the neshef (twilight) is the shortest. This time is based on Rabbi Moshe Feinstein who writes in Ohr Hachaim Vol. 4, Ch. 6 that misheyakir in New York is 35-40 minutes before sunrise, something that is a drop less than 8°. Rabbi Yisroel Taplin in Zmanei Yisrael (page 117) notes that Rabbi Yaakov Kamenetsky stated that it is not less than 36 minutes before sunrise (maybe it is 40 minutes). Sefer Yisrael Vehazmanim (p. 7) quotes the Tamar Yifrach in the name of the Satmar Rov that one should be stringent not consider misheyakir before 36 minutes. This is also the accepted minhag in Lakewood that is used in the Yeshiva. This follows the opinion of Rabbi Shmuel Kamenetsky who provided the time of 35/36 minutes, but did not provide a degree-based time. Since this zman depends on the level of light, Rabbi Yaakov Shakow presented this degree-based calculations to Rabbi Shmuel Kamenetsky who agreed to them.- Returns:
- the
Instantof misheyakir. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMisheyakir9Point5Degrees
This method returns misheyakir based on the position of the sun when it is9.5°belowgeometric zenith(90°). This calculation is based on Rabbi Dovid Kronglass's Calculation of 45 minutes in Baltimore as mentioned in Divrei Chachamim No. 24 brought down by the Birur Halacha, Tinyana, Ch. 18. This calculates to 9.5°. Also see Rabbi Yaakov Yitzchok Neiman in Kovetz Eitz Chaim Vol. 9, p. 202 that the Vya'an Yosef did not want to rely on times earlier than 45 minutes in New York. This zman is also used in the calendars published by Rabbi Hershel Edelstein. As mentioned in Yisroel Vehazmanim, Rabbi Edelstein who was given the 45 minute zman by Rabbi Bick. The calendars published by the Edot Hamizrach communities also use this zman. This also follows the opinion of Rabbi Shmuel Kamenetsky who provided the time of 36 and 45 minutes, but did not provide a degree-based time. Since this zman depends on the level of light, Rabbi Yaakov Shakow presented these degree-based times to Rabbi Shmuel Kamenetsky who agreed to them.- Returns:
- the
Instantof misheyakir. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA19Point8Degrees
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being19.8°beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 19.8° below sunrise or sunset. This returns the time of 3 *getShaahZmanis19Point8Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA16Point1Degrees
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 16.1° below sunrise or sunset. This returns the time of 3 *getShaahZmanis16Point1Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA18Degrees
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being18°beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 18° below sunrise or sunset. This returns the time of 3 *getShaahZmanis18Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA72MinutesZmanis
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos, or 1/10th of the day beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes zmaniyos, or 1/10th of the day beforesea level sunrisetonightfallof 72 minutes zmaniyos aftersea level sunset. This returns the time of 3 *getShaahZmanis72MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA90Minutes
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 90 minutes before sunrise tonightfallof 90 minutes after sunset. This returns the time of 3 *getShaahZmanis90Minutes()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA90MinutesZmanis
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 90 minutes zmaniyos before sunrise tonightfallof 90 minutes zmaniyos after sunset. This returns the time of 3 *getShaahZmanis90MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA96Minutes
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 96 minutes before sunrise tonightfallof 96 minutes after sunset. This returns the time of 3 *getShaahZmanis96Minutes()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA96MinutesZmanis
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 96 minutes zmaniyos before sunrise tonightfallof 96 minutes zmaniyos after sunset. This returns the time of 3 *getShaahZmanis96MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShma3HoursBeforeChatzos
This method returns the latest zman krias shema (time to recite Shema in the morning) calculated as 3 hours (regular clock hours and not shaos zmaniyos) beforeZmanimCalendar.getChatzosHayom(). Generally known as part of the "Komarno" zmanim after Rav Yitzchak Eizik of Komarno, a proponent of this calculation, it actually predates him a lot. It is the opinion of the Shach in the Nekudas Hakesef (Yoreh Deah 184), Rav Moshe Lifshitz in his commentary Lechem Mishneh on Brachos 1:2. It is next brought down about 100 years later by the Yaavetz (in his siddur, Mor Uktziah Orach Chaim 1, Lechem Shamayim, Brachos 1:2 and She'elos Yaavetz vol. 1 no. 40), Rav Yitzchak Eizik of Komarno in the Ma'aseh Oreg on Mishnayos Brachos 11:2, Shevus Yaakov, Chasan Sofer and others. See Yisrael Vehazmanim vol. 1 7:3, page 55 - 62.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA120Minutes
This method returns the latest zman krias shema (time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes or 1/6th of the day beforesunrise. This time is 3shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 120 minutes before sunrise tonightfallof 120 minutes after sunset. This returns the time of 3getShaahZmanis120Minutes()afterdawn. This is an extremely early zman that is very much a chumra.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaAlos16Point1ToSunset
This method returns the latest zman krias shema (time to recite Shema in the morning) based on the opinion that the day starts atalos 16.1°and ends atsea level sunset. This is the opinion of the חידושי וכללות הרז״ה and the ×ž× ×•×¨×” הטהורה as mentioned by Yisrael Vehazmanim vol 1, sec. 7, ch. 3 no. 16. Three shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 3 shaos zmaniyos (solar hours) afterdawnbased on the opinion that the day is calculated from aalos 16.1°tosea level sunset. Note: Based on this calculation chatzos will not be at midday andZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()will be ignored.- Returns:
- the
Instantof the latest zman krias shema based on this day. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, a null will be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaAlos16Point1ToTzaisGeonim7Point083Degrees
This method returns the latest zman krias shema (time to recite Shema in the morning) based on the opinion that the day starts atalos 16.1°and ends attzais 7.083°. 3 shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 3 shaos zmaniyos (temporal hours) afteralos 16.1°based on the opinion that the day is calculated from aalos 16.1°totzais 7.083°. Note: Based on this calculation chatzos will not be at midday andZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()will be ignored.- Returns:
- the
Instantof the latest zman krias shema based on this calculation. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA19Point8Degrees
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being19.8°beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 19.8° below sunrise or sunset. This returns the time of 4 *getShaahZmanis19Point8Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA16Point1Degrees
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 16.1° below sunrise or sunset. This returns the time of 4 *getShaahZmanis16Point1Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA18Degrees
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being18°beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 18° below sunrise or sunset. This returns the time of 4 *getShaahZmanis18Degrees()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA72MinutesZmanis
This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmaniyos beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes zmaniyos before sunrise tonightfallof 72 minutes zmaniyos after sunset. This returns the time of 4 *getShaahZmanis72MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA90Minutes
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 90 minutes before sunrise tonightfallof 90 minutes after sunset. This returns the time of 4 *getShaahZmanis90Minutes()afterdawn.- Returns:
- the
Instantof the latest zman tfila. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA90MinutesZmanis
This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being90minutes zmaniyos beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 90 minutes zmaniyos before sunrise tonightfallof 90 minutes zmaniyos after sunset. This returns the time of 4 *getShaahZmanis90MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA96Minutes
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 96 minutes before sunrise tonightfallof 96 minutes after sunset. This returns the time of 4 *getShaahZmanis96Minutes()afterdawn.- Returns:
- the
Instantof the latest zman tfila. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA96MinutesZmanis
This method returns the latest zman tfila (time to the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being96minutes zmaniyos beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 96 minutes zmaniyos before sunrise tonightfallof 96 minutes zmaniyos after sunset. This returns the time of 4 *getShaahZmanis96MinutesZmanis()afterdawn.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaMGA120Minutes
This method returns the latest zman tfila (time to recite the morning prayers) according to the opinion of the Magen Avraham (MGA) based on alos being120minutes beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 120 minutes before sunrise tonightfallof 120 minutes after sunset. This returns the time of 4 *getShaahZmanis120Minutes()afterdawn. This is an extremely early zman that is very much a chumra.- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfila2HoursBeforeChatzos
This method returns the latest zman tfila (time to recite the morning prayers) calculated as 2 hours beforeZmanimCalendar.getChatzosHayom(). This is based on the opinions that calculate sof zman krias shema asgetSofZmanShma3HoursBeforeChatzos(). This returns the time of 2 hours beforeZmanimCalendar.getChatzosHayom().- Returns:
- the
Instantof the latest zman krias shema. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedola30Minutes
This method returns mincha gedola calculated as 30 minutes afterchatzosand not 1/2 of ashaah zmanisafterchatzosas calculated byZmanimCalendar.getMinchaGedola(Instant, Instant, boolean). Some use this time to delay the start of mincha in the winter when 1/2 of ashaah zmanisis less than 30 minutes. SeegetMinchaGedolaGreaterThan30(Instant)for a convenience method that returns the later of the 2 calculations. One should not use this time to start mincha before the standardmincha gedola. See Shulchan Aruch Orach Chayim 234:1 and the Shaar Hatziyon seif katan ches. Since this calculation is a fixed 30 minutes of regular clock time after chatzos, even ifZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()isfalse, this mincha gedola time will be affected byZmanimCalendar.isUseAstronomicalChatzos()and not byZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim().- Returns:
- the
Instantof 30 minutes after chatzos. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- Consider adjusting this to calculate the time as half an hour after
ZmanimCalendar.getChatzosHayom()that usesZmanimCalendar.isUseAstronomicalChatzos()to determine the type of chatzos to utilize. that support it, based onZmanimCalendar.isUseAstronomicalChatzos().
-
getMinchaGedola72Minutes
This method returns the time of mincha gedola according to the Magen Avraham with the day starting 72 minutes before sunrise and ending 72 minutes after sunset. This is the earliest time to pray mincha. For more information on this see the documentation onmincha gedola. This is calculated as 6.5solar hoursafter alos. The calculation used is 6.5 *ZmanimCalendar.getShaahZmanis72Minutes()afteralos. IfZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()is set totrue, the calculation will be based on 0.5half-day based sha'ah zmanisbetweenZmanimCalendar.getChatzosHayom()andZmanimCalendar.getTzais72Minutes()afterZmanimCalendar.getChatzosHayom().- Returns:
- the
Instantof the time of mincha gedola. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedola16Point1Degrees
This method returns the time of mincha gedola according to the Magen Avraham with the day starting and ending 16.1° below the horizon. This is the earliest time to pray mincha. For more information on this see the documentation onmincha gedola. This is calculated as 6.5solar hoursafter alos. The calculation used is 6.5 *getShaahZmanis16Point1Degrees()afteralos. IfZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()is set totrue, the calculation will be based on 0.5half-day based sha'ah zmanisbetweenZmanimCalendar.getChatzosHayom()andZmanimCalendar.getAlos16Point1Degrees()afterZmanimCalendar.getChatzosHayom().- Returns:
- the
Instantof the time of mincha gedola. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaAhavatShalom
This method returns the time of mincha gedola based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that mincha gedola is calculated as half a shaah zmanis after chatzos with shaos zmaniyos calculated based on a day starting 72 minutes before sunrisealos 16.1°and ending 13.5 minutes after sunsettzais 3.7°. Mincha gedola is the earliest time to pray mincha. The later of this time or 30 clock minutes after chatzos is returned. SeegetMinchaGedolaGreaterThan30(Instant)for a way to claculate the later of 30 minutes or this mincha gedola. For more information about mincha gedola see the documentation onmincha gedola. Since calculation of this zman involves chatzos that is offset from the center of the astronomical day,ZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()is N/A here.- Returns:
- the
Instantof the mincha gedola. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaGreaterThan30
This is a convenience method that returns the later of the minchaGedola passed in andgetMinchaGedola30Minutes(). In the winter when 1/2 of ashaah zmanisis less than 30 minutesgetMinchaGedola30Minutes()will be returned, otherwise the minchaGedola passed in will be returned. Since this calculation can be an offset of chatzos (if 30 clock minutes > 1/2 of a shaah zmanis), even ifZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()isfalse, this mincha time may be affected byZmanimCalendar.isUseAstronomicalChatzos().- Parameters:
minchaGedola- the mincha gedola to be compared togetMinchaGedola30Minutes().- Returns:
- the
Instantof the later ofZmanimCalendar.getMinchaGedolaGRA()andgetMinchaGedola30Minutes(). 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaGRAGreaterThan30
This is a convenience method that returns the later ofZmanimCalendar.getMinchaGedolaGRA()andgetMinchaGedola30Minutes(). In the winter when 1/2 of ashaah zmanisis less than 30 minutesgetMinchaGedola30Minutes()will be returned, otherwiseZmanimCalendar.getMinchaGedolaGRA()will be returned. Since this calculation can be an offset of chatzos (if 30 clock minutes > 1/2 of a shaah zmanis), even ifZmanimCalendar.isUseAstronomicalChatzosForOtherZmanim()isfalse, this mincha time may be affected byZmanimCalendar.isUseAstronomicalChatzos().- Returns:
- the
Dateof the later ofZmanimCalendar.getMinchaGedolaGRA()andgetMinchaGedola30Minutes(). 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- Consider adjusting this to calculate the time as 30 minutes after
ZmanimCalendar.getChatzosHayom()that usesZmanimCalendar.isUseAstronomicalChatzos()to determine the type of chatzos to utilize (if thecalculatorsupport astronomical chatzos), based on theZmanimCalendar.isUseAstronomicalChatzos()setting.
-
getMinchaKetana16Point1Degrees
This method returns the time of mincha ketana according to the Magen Avraham with the day starting and ending 16.1° below the horizon. This is the preferred earliest time to pray mincha according to the opinion of the Rambam and others. For more information on this see the documentation onmincha gedola. This is calculated as 9.5solar hoursafter alos. The calculation used is 9.5 *getShaahZmanis16Point1Degrees()afteralos.- Returns:
- the
Instantof the time of mincha ketana. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaKetanaAhavatShalom
This method returns the time of mincha ketana based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that mincha ketana is calculated as 2.5 shaos zmaniyos beforetzais 3.8°with shaos zmaniyos calculated based on a day starting atalos 16.1°and ending at tzais 3.8°. Mincha ketana is the preferred earliest time to pray mincha according to the opinion of the Rambam and others. For more information on this see the documentation onmincha ketana.- Returns:
- the
Instantof the time of mincha ketana. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaKetana72Minutes
This method returns the time of mincha ketana according to the Magen Avraham with the day starting 72 minutes before sunrise and ending 72 minutes after sunset. This is the preferred earliest time to pray mincha according to the opinion of the Rambam and others. For more information on this see the documentation onmincha gedola. This is calculated as 9.5ZmanimCalendar.getShaahZmanis72Minutes()after alos. The calculation used is 9.5 *ZmanimCalendar.getShaahZmanis72Minutes()afteralos.- Returns:
- the
Instantof the time of mincha ketana. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha60Minutes
This method returns the time of plag hamincha according to the Magen Avraham with the day starting 60 minutes before sunrise and ending 60 minutes after sunset. This is calculated as 10.75 hours afterdawn. The formula used is 10.75getShaahZmanis60Minutes()aftergetAlos60Minutes().- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha72Minutes
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha according to the Magen Avraham with the day starting 72 minutes before sunrise and ending 72 minutes after sunset. This is calculated as 10.75 hours afterdawn. The formula used is 10.75ZmanimCalendar.getShaahZmanis72Minutes()afterZmanimCalendar.getAlos72Minutes(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha90Minutes
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha according to the Magen Avraham with the day starting 90 minutes before sunrise and ending 90 minutes after sunset. This is calculated as 10.75 hours afterdawn. The formula used is 10.75getShaahZmanis90Minutes()aftergetAlos90Minutes(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha96Minutes
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha according to the Magen Avraham with the day starting 96 minutes before sunrise and ending 96 minutes after sunset. This is calculated as 10.75 hours afterdawn. The formula used is 10.75getShaahZmanis96Minutes()aftergetAlos96Minutes(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha96MinutesZmanis
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha. This is calculated as 10.75 hours afterdawn. The formula used is 10.75 *getShaahZmanis96MinutesZmanis()afterdawn. Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getPlagHamincha90MinutesZmanis
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha. This is calculated as 10.75 hours afterdawn. The formula used is 10.75 *getShaahZmanis90MinutesZmanis()afterdawn. Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getPlagHamincha72MinutesZmanis
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha. This is calculated as 10.75 hours aftergetAlos72Zmanis(). The formula used is 10.75 *getShaahZmanis72MinutesZmanis()afterdawn. Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getPlagHamincha16Point1Degrees
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on the opinion that the day starts atalos 16.1°and ends attzais 16.1°. This is calculated as 10.75 hours zmaniyos afterdawn. The formula used is 10.75 *getShaahZmanis16Point1Degrees()afterZmanimCalendar.getAlos16Point1Degrees(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha19Point8Degrees
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on the opinion that the day starts atalos 19.8°and ends attzais 19.8°. This is calculated as 10.75 hours zmaniyos afterdawn. The formula used is 10.75 *getShaahZmanis19Point8Degrees()aftergetAlos19Point8Degrees(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha26Degrees
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on the opinion that the day starts atalos 26°and ends attzais 26°. This is calculated as 10.75 hours zmaniyos afterdawn. The formula used is 10.75 *getShaahZmanis26Degrees()aftergetAlos26Degrees(). Since the zman based on an extremely early alos and a very late tzais, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHamincha18Degrees
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on the opinion that the day starts atalos 18°and ends attzais 18°. This is calculated as 10.75 hours zmaniyos afterdawn. The formula used is 10.75 *getShaahZmanis18Degrees()aftergetAlos18Degrees(). Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the time of plag hamincha. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagAlosToSunset
Deprecated.This method should be used lechumra only since it returns a very late time (often after shkiah), and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns the time of plag hamincha based on the opinion that the day starts atalos 16.1°and ends atsunset. 10.75 shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 10.75 shaos zmaniyos (temporal hours) afterdawnbased on the opinion that the day is calculated from adawnof 16.1 degrees before sunrise tosea level sunset. This returns the time of 10.75 * the calculated shaah zmanis afterdawn. Since plag by this calculation can occur after sunset, it should only be used lechumra.- Returns:
- the
Instantof the plag. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagAlos16Point1ToTzaisGeonim7Point083Degrees
This method returns the time of plag hamincha based on the opinion that the day starts atalos 16.1°and ends attzais. 10.75 shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 10.75 shaos zmaniyos (temporal hours) afterdawnbased on the opinion that the day is calculated from adawnof 16.1 degrees before sunrise totzais. This returns the time of 10.75 * the calculated shaah zmanis afterdawn.- Returns:
- the
Instantof the plag. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagAhavatShalom
This method returns the time of plag hamincha (the earliest time that Shabbos can be started) based on the opinion of Rabbi Yaakov Moshe Hillel as published in the luach of the Bais Horaah of Yeshivat Chevrat Ahavat Shalom that that plag hamincha is calculated as 1.25 shaos zmaniyos beforetzais 3.8°with shaos zmaniyos calculated based on a day starting atalos 16.1°and ending at tzais 3.8°.- Returns:
- the
Instantof the plag. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosRT13Point24Degrees
Method to return the beginning of bain hashmashos of Rabbeinu Tam calculated when the sun is13.24°below the westerngeometric horizon(90°) after sunset. This calculation is based on the same calculation ofbain hashmashos Rabbeinu Tam 58.5 minutesbut uses a degree-based calculation instead of 58.5 exact minutes. This calculation is based on the position of the sun 58.5 minutes after sunset in Jerusalem around the equinox / equilux, which calculates to 13.24° belowgeometric zenith. NOTE: As per Yisrael Vehazmanim Vol. III page 1028, No. 50, a dip of slightly less than 13° should be used. Calculations show that the proper dip to be 13.2456° (truncated to 13.24 that provides about 1.5 second earlier (lechumra) time) below the horizon at that time. This makes a difference of 1 minute and 10 seconds in Jerusalem during the Equinox, and 1 minute 29 seconds during the solstice as compared to the proper 13.24° versus 13°. For NY during the solstice, the difference is 1 minute 56 seconds.- Returns:
- the
Instantof the sun being 13.24° belowgeometric zenith(90°). If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- recalculate the above based on equilux/equinox calculations.
-
getBainHashmashosRT58Point5Minutes
This method returns the beginning of Bain hashmashos of Rabbeinu Tam calculated as a 58.5-minute offset after sunset. bain hashmashos is 3/4 of a mil before tzais or 3 1/4 mil after sunset. With a mil calculated as 18 minutes, 3.25 * 18 = 58.5 minutes.- Returns:
- the
Instantof 58.5 minutes after 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getBainHashmashosRT13Point5MinutesBefore7Point083Degrees
This method returns the beginning of bain hashmashos based on the calculation of 13.5 minutes (3/4 of an 18-minute mil) before shkiah calculated as7.083°.- Returns:
- the
Instantof the bain hashmashos of Rabbeinu Tam in this calculation. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosRT2Stars
This method returns the beginning of bain hashmashos of Rabbeinu Tam calculated according to the opinion of the Divrei Yosef (see Yisrael Vehazmanim) calculated 5/18th (27.77%) of the time between alos (calculated as 19.8° before sunrise) and sunrise. This is added to sunset to arrive at the time for bain hashmashos of Rabbeinu Tam.- Returns:
- the
Instantof bain hashmashos of Rabbeinu Tam for this calculation. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getBainHashmashosYereim18Minutes
This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 18 minutes or 3/4 of a 24-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset.- Returns:
- the
Instantof 18 minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosYereim3Point05Degrees
This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 3.05° above the horizon around the equinox / equilux, its position 18 minutes or 3/4 of an 24-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset. Note that lechumra (of about 14 seconds) a refraction value of 0.5166° as opposed to the traditional 0.566° is used. This is more inline with the actual refraction in Eretz Yisrael and is brought down by Rabbi Yedidya Manet in his Zmanei HaHalacha Lema'aseh (p. 11). That is the first source that I am aware of that calculates degree-based Yereim zmanim. The 0.5166° refraction is also used by the Luach Itim Lebinah. Calculating the Yereim's bain hashmashos using 18-minute based degrees is also suggested in the upcoming 8th edition of the zmanim Kehilchasam. For more details, see the article The Yereim's Bain Hashmashos.- Returns:
- the
Instantof the sun's position 3.05° minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- recalculate based on equinox/equilux
-
getBainHashmashosYereim16Point875Minutes
This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 16.875 minutes or 3/4 of a 22.5-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset.- Returns:
- the
Instantof 16.875 minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosYereim2Point8Degrees
This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 2.8° above the horizon around the equinox / equilux, its position 16.875 minutes or 3/4 of an 18-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset. Details, including how the degrees were calculated can be seen in the documentation ofgetBainHashmashosYereim3Point05Degrees().- Returns:
- the
Instantof the sun's position 2.8° minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosYereim13Point5Minutes
This method returns the beginning of bain hashmashos (twilight) according to the Yereim (Rabbi Eliezer of Metz) calculated as 13.5 minutes or 3/4 of an 18-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset.- Returns:
- the
Instantof 13.5 minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getBainHashmashosYereim2Point1Degrees
This method returns the beginning of bain hashmashos according to the Yereim (Rabbi Eliezer of Metz) calculated as the sun's position 2.1° above the horizon around the equinox / equilux in Yerushalayim, its position 13.5 minutes or 3/4 of an 18-minute mil before sunset. According to the Yereim, bain hashmashos starts 3/4 of a mil before sunset and tzais or nightfall starts at sunset. Details, including how the degrees were calculated can be seen in the documentation ofgetBainHashmashosYereim3Point05Degrees().- Returns:
- the
Instantof the sun's position 2.1° minutes before 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim3Point7Degrees
Deprecated.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at3.7°belowgeometric zenith(90°), calculated as the position of the sun 13.5 minutes after sunset, the time it takes to walk 3/4 of a mil at 18 minutes a mil, or 13.5 minutes after sunset. The sun is 3.7° belowgeometric zenithat this time in Jerusalem around the equinox / equilux. This does not cover the 26.46 it takes to walk 49 amos (the heref ayin of bain hashmashos of Rav Yosi) at the pace of an 18-minute mil. It should be noted that Rabbi Yedidya Manet in his Zmanei HaHalacha Lema'aseh (4th edition part 2, pages and 22 and 24) lists 3.65° that appears to be a drop too early.- Returns:
- the
Instantrepresenting the time when the sun is 3.7° below sea level. - See Also:
-
getTzaisGeonim3Point8Degrees
Deprecated.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at3.8°belowgeometric zenith(90°), calculated as the position of the sun 13.5 minutes after sunset, the time it takes to walk 3/4 of a mil at 18 minutes a mil, plus 30 seconds for the time it takes to walk 49 amos (the heref ayin of bain hashmashos of Rav Yosi). With this being on an 18-minutes mil, 49 amos would take 26.46, rounded to 30 seconds), for a total of 14 minutes after sunset. The sun is3.8°belowgeometric zenithat this time in Jerusalem around the equinox / equilux.- Returns:
- the
Instantrepresenting the time when the sun is 3.8° below sea level. - See Also:
-
getTzaisGeonim5Point95Degrees
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at5.95°below belowgeometric zenith(90°), calculated as the position of the sun 24 minutes after sunset in Jerusalem around the equinox / equilux. The 24 minutes is based on the Baal Hatanya's calculation of 18 minutes (3/4 of a 24 minute mil) + 4 minutes for shkiah amitis + 2 minutes for bain hashmashos of Rav Yosi. See Hazmanim Bahalacha vol II, ch. 50, no. 5, p. 512-513, ch. 47, and Yisrael Vehazmanim Vol III, ch. 13, no. 53, p. 1026. Among sources he mentions for this zman is Rabbi Yehuda (Leo) Levi's calculations in Jewish Chrononomy and other sources. Calculations show that the time is closer to 5.93° and was seemingly rounded to 5.95°. Chabad calendars usually use the 6°-basedgetTzaisBaalHatanya()that is built on this same calculation. It should be noted that Rabbi Yedidya Manet in his Zmanei HaHalacha Lema'aseh (4th edition part 2, pages and 22 and 24) lists 5.88° that appears to be a drop too early.- Returns:
- the
Instantrepresenting the time when the sun is 5.95° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim4Point66Degrees
Deprecated.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as 3/4 of a mil based on a 24-minute mil, or 18 minutes. It is the sun's position at4.66°below the western horizon. This is a very early zman and should not be relied on without Rabbinical guidance. This does not cover the 35.28 seconds it takes to walk 49 amos (the heref ayin of bain hashmashos of Rav Yosi) at the pace of a 24-minute mil. SeegetTzaisGeonim4Point8Degrees()for a time that covers the heref ayin.- Returns:
- the
Instantrepresenting the time when the sun is 4.66° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim4Point42Degrees
Deprecated.This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as 3/4 of a mil, based on a 22.5-minute mil, or 16 7/8 minutes. It is the sun's position at4.42°below the western horizon. This is a very early zman and should not be relied on without Rabbinical guidance. This does not cover the 33.07 seconds it takes to walk 49 amos (the heref ayin of bain hashmashos of Rav Yosi) at the pace of a 22.5 minute-mil. It should be noted that Rabbi Yedidya Manet in his Zmanei HaHalacha Lema'aseh (4th edition part 2, pages and 22 and 24) lists 4.37° that appears to be a drop too early.- Returns:
- the
Instantrepresenting the time when the sun is 4.42° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim4Point8Degrees
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as the sun's position below the horizon at a time of 18.6 minutes after sunset. This is calculated as 3/4 of a 24-minute mil, plus 0.6 minutes for the time to walk 49 amos for bain hashmashos of Rav Yosi (with this zman based on a 24-minute mil, 49 amos would take 35.28 seconds to walk), for a total of 18.6 minutes after sunset. This calculates to the sun's position at4.8°below the western horizon. This is based on Rav Yechiel Michel Shlezinger's sefer Aizehu Bain Hashmashos, Rabbi Yehuda (Leo) Levi's calculations in Zmanei Hayom BaHalacha p. 37. At this point, 3 medium sized stars are visible to a non-expert with good vision with effort. An expert knowing where to look can see the 3 medium stars as early as 15 minutes after sunset. This is explained in detail in Hazmanim Bahalacha vol II, ch. 41, no. 6 (p. 372-373, ch. 47, no. 11-12 (p. 491-493) where it is clear that medium sized stars would be visible as early as 14 minutes after sunset (13.5 minutes for 3/4 of an 18 minute Mil, plus 0.5 minutes for bain Hashmashos of Rav Yosi) to an expert. See more details on this earier zman atgetTzaisGeonim3Point8Degrees(). This is an early zman for tzaisand should not be relied on without Rabbinical guidance.- Returns:
- the
Instantrepresenting the time when the sun is 4.8° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim6Point45Degrees
This method returns the tzais (nightfall) based on the opinion of the Geonim as calculated by Rabbi Yechiel Michel Tucazinsky as the position of the sun no later than 31 minutes after sea-level sunset in Jerusalem (the Birur halacha shows that Rav Tucazinsky's calculations for sunset, listed as 28 minutes in this case, were about 3 minutes later than reality), and at the height of the summer solstice,this zman, calculatons show that 30.75 minutes after shkiah computes to 6.45° belowgeometric zenith. This calculation is found in the Birur Halacha Yoreh Deah 262 and it is the commonly used zman in Israel. It is also used in the Luach Itim Lebinah. it should be noted that this differs from the 6.1° / 6.2° calculation for Rabbi Tucazinsky's time as calculated by the Hazmanim Bahalacha Vol II chapter 50:7 (page 515). Calculations show that 6.45° at the equinox is 26.5 minutes after shkiah around the equinox / equilux.- Returns:
- the
Instantrepresenting the time when the sun is 6.45° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim7Point083Degrees
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated when the sun's position7.083° (or 7° 5′) below the western horizon. This is often referred to as 7°5' or 7° and 5 minutes. This calculation is based on the observation of 3 medium-sized stars by Dr. Baruch (Berthold) Cohn in his luach Tabellen enthaltend die Zeitangaben für den Beginn der Nacht und des Tages für die Breitengrade + 66 bis -38 published in Strasbourg, France in 1899. This calendar was very popular in Europe, and many other calendars based their tzais time on it. Rav Dovid Tzvi Hoffman in his Sh"Ut Melamed Leho'il in an exchange of letters with Baruch Cohn in Orach Chaim 30 agreed to this zman (page 36), as did the Sh"Ut Bnei Tziyon and the Tenuvas Sadeh. It is very close to the time of the Mekor Chesed of the Sefer chasidim. It is close to the position of the sun 30 minutes after sunset in Jerusalem around the equinox / equilux, but not Exactly. The actual position of the sun 30 minutes after sunset in Jerusalem at the equilux is 7.205° and 7.199° at the equinox. See Hazmanim Bahalacha vol 2, pages 520-521 for more details.- Returns:
- the
Instantrepresenting the time when the sun is 7.083° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisGeonim7Point67Degrees
This method returns tzais (nightfall) based on the opinion of the Geonim calculated as 45 minutes after sunset during the summer solstice in New York, when the neshef (twilight) is the longest. The sun's position at this time computes to7.75°below the western horizon. See Igros Moshe Even Haezer 4, Ch. 4 (regarding tzais for krias Shema). It is also mentioned in Rabbi Heber's Shaarei Zmanim on in chapter 10 (page 87) and chapter 12 (page 108). Also see the time of 45 minutes in Rabbi Simcha Bunim Cohen's The radiance of Shabbos as the earliest zman for New York. This zman is also listed in the Divrei Shalom Vol. III, chapter 75, and Bais Av"i Vol. III, chapter 117. This zman is also listed in the Divrei Shalom etc. chapter 177. Since this zman depends on the level of light, Rabbi Yaakov Shakow presented this degree-based calculation to Rabbi Rabbi Shmuel Kamenetsky who agreed to it.- Returns:
- the
Instantrepresenting the time when the sun is 7.67° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- add hyperlinks to source of Divrei Shalom once it is located.
-
getTzaisGeonim9Point3Degrees
This method returns the tzais (nightfall) based on the calculations used in the Luach Itim Lebinah as the stringent time for tzais. It is calculated at the sun's position at9.3°below the western horizon.- Returns:
- the
Instantrepresenting the time when the sun is 9.3° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getTzaisGeonim9Point75Degrees
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated as 60 minutes after sunset around the equinox / equilux, the day that a solar hour is 60 minutes in New York. The sun's position at this time computes to9.75°below the western horizon. This is the opinion of Rabbi Eliyahu Henkin. This also follows the opinion of Rabbi Shmuel Kamenetsky. Rabbi Yaakov Shakow presented these degree-based times to Rabbi Shmuel Kamenetsky who agreed to them.- Returns:
- the
Instantrepresenting the time when the sun is 9.75° below sea level. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- recalculate based on equinox / equilux.
-
getTzais60Minutes
This method returns the tzais (nightfall) based on the opinion of the Chavas Yair and Divrei Malkiel that the time to walk the distance of a mil is 15 minutes, for a total of 60 minutes for 4 mil aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting). See detailed documentation explaining the 60 minute concept atgetAlos60Minutes().- Returns:
- the
Instantrepresenting 60 minutes after sea level 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisAteretTorah
This method returns tzais usually calculated as 40 minutes (configurable to any offset viasetAteretTorahSunsetOffset(double)) after sunset. Please note that Chacham Yosef Harari-Raful of Yeshivat Ateret Torah who uses this time, does so only for calculating various other zmanei hayom such as Sof Zman Krias Shema and Plag Hamincha. His calendars do not publish a zman for Tzais. It should also be noted that Chacham Harari-Raful provided a 25 minute zman for Israel. This API uses 40 minutes year round in any place on the globe by default. This offset can be changed by callingsetAteretTorahSunsetOffset(double).- Returns:
- the
Instantrepresenting 40 minutes (configurable viasetAteretTorahSunsetOffset(double)) after sea level 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAteretTorahSunsetOffset
Returns the offset in minutes after sunset used to calculate tzais based on the calculations of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah calculations. The default value is 40 minutes. This affects most zmanim, since almost all zmanim use subset as part of their calculation.- Returns:
- the number of minutes after sunset for Tzait.
- See Also:
-
setAteretTorahSunsetOffset
Allows setting the offset in minutes after sunset for the Ateret Torah zmanim. The default if unset is 40 minutes. Chacham Yosef Harari-Raful of Yeshivat Ateret Torah uses 40 minutes globally with the exception of Israel where a 25-minute offset is used. This 40-minute (or any other) offset can be overridden by this method. This offset impacts all Ateret Torah zmanim.- Parameters:
ateretTorahSunsetOffset- the number of minutes after sunset to use as an offset for the Ateret Torah tzais- See Also:
-
getSofZmanShmaAteretTorah
This method returns the latest zman krias shema (time to recite Shema in the morning) based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)). shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 3shaos zmaniyos(temporal hours) afteralos 72 zmaniyos. Note: Based on this calculation chatzos will not be at midday.- Returns:
- the
Instantof the latest zman krias shema based on this calculation. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaAteretTorah
This method returns the latest zman tfila (time to recite the morning prayers) based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)). shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 4 *shaos zmaniyos(temporal hours) afteralos 72 zmaniyos. Note: Based on this calculation chatzos will not be at midday.- Returns:
- the
Instantof the latest zman krias shema based on this calculation. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaAteretTorah
This method returns the time of mincha gedola based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)). This is the preferred earliest time to pray mincha according to the opinion of the Rambam and others. For more information on this see the documentation onmincha gedola. This is calculated as 6.5solar hoursafter alos. The calculation used is 6.5 *getShaahZmanisAteretTorah()afteralos.- Returns:
- the
Instantof the time of mincha gedola. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaKetanaAteretTorah
This method returns the time of mincha ketana based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)). This is the preferred earliest time to pray mincha according to the opinion of the Rambam and others. For more information on this see the documentation onmincha gedola. This is calculated as 9.5solar hoursafteralos. The calculation used is 9.5 *getShaahZmanisAteretTorah()afteralos.- Returns:
- the
Instantof the time of mincha ketana. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHaminchaAteretTorah
This method returns the time of plag hamincha based on the calculation of Chacham Yosef Harari-Raful of Yeshivat Ateret Torah, that the day starts1/10th of the daybefore sunrise and is usually calculated as ending40 minutes after sunset(configurable to any offset viasetAteretTorahSunsetOffset(double)). shaos zmaniyos are calculated based on this day and added toalosto reach this time. This time is 10.75shaos zmaniyos(temporal hours) afterdawn.- Returns:
- the
Instantof the plag. 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 detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais72Zmanis
Method to return tzais (dusk) calculated as 72 minutes zmaniyos, or 1/10th of the day aftersea level sunset. This is the way that the Minchas Cohen in Ma'amar 2:4 calculates Rebbeinu Tam's time of tzeis. It should be noted that this calculation results in the shortest time from sunset to tzais being during the winter solstice, the longest at the summer solstice and 72 clock minutes at the equinox. This does not match reality, since there is no direct relationship between the length of the day and twilight. The shortest twilight is during the equinox, the longest is during the summer solstice, and in the winter with the shortest daylight, the twilight period is longer than during the equinoxes.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais90Zmanis
Method to return tzais (dusk) calculated using 90 minutes zmaniyos or 1/8th of the day aftersea level sunset. This time is known in Yiddish as the achtel (an eighth) zman used in various kehilos.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais96Zmanis
Method to return tzais (dusk) calculated using 96 minutes zmaniyos or 1/7.5 of the day aftersea level sunset.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais90Minutes
Method to return tzais (dusk) calculated as 90 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting). This method returns tzais (nightfall) based on the opinion of the Magen Avraham that the time to walk the distance of a mil according to the Rambam's opinion is 18 minutes, for a total of 90 minutes based on the opinion of Ula who calculated tzais as 5 mil after elevation adjusted shkiah (sunset). A similar calculationgetTzais19Point8Degrees()uses solar position* calculations based on this time.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais120Minutes
Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns tzais (nightfall) based on the calculations of Rav Chaim Naeh that the time to walk the distance of a mil according to the Rambam's opinion is 2/5 of an hour (24 minutes) for a total of 120 minutes based on the opinion of Ula who calculated tzais as 5 mil aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting). A similar calculationgetTzais26Degrees()uses degree-based calculations based on this 120 minute calculation. Since the zman is extremely late and at a point that is long past the 18° point where the darkest point is reached, it should only be used lechumra, such as delaying the start of nighttime mitzvos.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendar. documentation. - See Also:
-
getTzais120Zmanis
Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns tzais (dusk) calculated using 120 minutes zmaniyos aftersea level sunset. Since the zman is extremely late and at a time when the sun is well below the 18° point (scientifically the darkest point) in most places on the globe, it should only be used lechumra, such as delaying the start of nighttime mitzvos.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais16Point1Degrees
This calculates the time of tzais at the point when the sun is 16.1° below the horizon. This is the sun's dip below the horizon 72 minutes after sunset according Rabbeinu Tam's calculation of tzais around the equinox / equilux in Jerusalem. The question of equinox VS equilux is complex, with Rabbi Meir Posen in the Ohr Meir of the opinion that the equilux should be used. See Yisrael Vehazmanim vol I, 34:1:4. Rabbi Yedidya Manet in his Zmanei HaHalacha Lema'aseh (4th edition part 2, pages and 22 and 24) and Rabbi Yonah Mertzbuch (in a letter published by Rabbi Manet) are of the opinion that the astronomical equinox should be used. The difference adds up to about 9 seconds, too trivial to make much of a difference. For information on how this is calculated see the comments onZmanimCalendar.getAlos16Point1Degrees().- Returns:
- the
Instantrepresenting the time. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais26Degrees
Deprecated.This method should be used lechumra only since it returns a very late time, and if used lekula can result in chillul Shabbos etc. There is no current plan to remove this method from the API, and this deprecation is intended to alert developers of the danger of using it.This method should be used lechumra only and returns tzais based on when the sun is 26° below the horizon. For information on how this is calculated see the comments ongetAlos26Degrees(). Since the zman is extremely late and at a point when it is long past the 18° point where the darkest point is reached, it should only be used lechumra such as delaying the start of nighttime mitzvos.- Returns:
- the
Instantrepresenting the time. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais18Degrees
For information on how this is calculated see the comments ongetAlos18Degrees()- Returns:
- the
Instantrepresenting the time. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais19Point8Degrees
For information on how this is calculated see the comments ongetAlos19Point8Degrees().- Returns:
- the
Instantrepresenting the time. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais96Minutes
A method to return tzais (dusk) calculated as 96 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting). For information on how this is calculated see the comments ongetAlos96Minutes().- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getFixedLocalChatzosHayom
A method that returns the local time for fixed chatzos. This time is noon and adjusted from standard time to account for the local latitude. The 360° of the globe divided by 24 calculates to 15° per hour with 4 minutes per degree, so at a longitude of 0 , 15, 30 etc... Chatzos is at exactly 12:00 noon. This is the time of chatzos according to the Aruch Hashulchan in Orach Chaim 233:14 and Rabbi Moshe Feinstein in Igros Moshe Orach Chaim 1:24 and 2:20. Lakewood, N.J., with a longitude of -74.222, is 0.778 away from the closest multiple of 15 at -75°. This is multiplied by 4 to yield 3 minutes and 7 seconds for a chatzos of 11:56:53. This method is not tied to the theoretical 15° time zones, but will adjust to the actual time zone and Daylight saving time.- Returns:
- the Instant representing the local chatzos
- See Also:
-
getSofZmanKidushLevanaBetweenMoldos
Returns the latest time of Kidush Levana according to the Maharil's opinion that it is calculated as halfway between molad and molad. This adds half the 29 days, 12 hours and 793 chalakim time between molad and molad (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's molad. If the time of sof zman Kiddush Levana occurs during the day (between the alos and tzais passed in as parameters), it returns the alos passed in. If anullalos or tzais are passed to this method, the non-daytime adjusted time will be returned.- Parameters:
alos- the beginning of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameters are null, no daytime adjustment will be made.tzais- the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameter are null, no daytime adjustment will be made.- Returns:
- the Instant representing the moment halfway between molad and molad. If the time occurs between
alos and tzais, alos will be returned. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getMoladBasedTime
private Instant getMoladBasedTime(Instant moladBasedTime, Instant alos, Instant tzais, boolean techila) Returns the Instant of the molad based time if it occurs on the current date. Since Kiddush Levana can only be said during the day, there are parameters to limit it to between alos and tzais. If the time occurs between alos and tzais, tzais will be returned.- Parameters:
moladBasedTime- the molad based time such as molad, tchilas and sof zman Kiddush Levanaalos- optional start of day to limit molad times to the end of the night before or beginning of the next night. Ignored if either alos or tzais are null.tzais- optional end of day to limit molad times to the end of the night before or beginning of the next night. Ignored if either tzais or alos are nulltechila- is it the start of Kiddush Levana time or the end? If it is start roll it to the next tzais, and if it is the end, return the end of the previous night (alos passed in). Ignored if either alos or tzais are null.- Returns:
- the molad based time. If the zman does not occur during the current date,
nullwill be returned.
-
getSofZmanKidushLevanaBetweenMoldos
Returns the latest time of Kiddush Levana according to the Maharil's opinion that it is calculated as halfway between molad and molad. This adds half the 29 days, 12 hours and 793 chalakim time between molad and molad (14 days, 18 hours, 22 minutes and 666 milliseconds) to the month's molad. The sof zman Kiddush Levana will be returned even if it occurs during the day. To limit the time to between tzais and alos, seegetSofZmanKidushLevanaBetweenMoldos(Instant, Instant).- Returns:
- the Instant representing the moment halfway between molad and molad. If the time occurs between
alos and tzais, alos will be returned. If the zman will not occur on this
day, a
nullwill be returned. - See Also:
-
getSofZmanKidushLevana15Days
Returns the latest time of Kiddush Levana calculated as 15 days after the molad. This is the opinion brought down in the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the Rema who brings down the opinion of the Maharil's of calculatinghalf way between molad and moladis of the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject, see Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of Shaarei Zmanim. If the time of sof zman Kiddush Levana occurs during the day (between the alos and tzais passed in as parameters), it returns the alos passed in. If a null alos or tzais are passed to this method, the non-daytime adjusted time will be returned.- Parameters:
alos- the beginning of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameters are null, no daytime adjustment will be made.tzais- the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be alos. If either the alos or tzais parameters are null, no daytime adjustment will be made.- Returns:
- the Instant representing the moment 15 days after the molad. If the time occurs between alos and
tzais, alos will be returned. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getSofZmanKidushLevana15Days
Returns the latest time of Kiddush Levana calculated as 15 days after the molad. This is the opinion of the Shulchan Aruch (Orach Chaim 426). It should be noted that some opinions hold that the Rema who brings down the opinion of the Maharil's of calculatinghalf way between molad and moladis of the opinion that the Mechaber agrees to his opinion. Also see the Aruch Hashulchan. For additional details on the subject, See Rabbi Dovid Heber's very detailed write-up in Siman Daled (chapter 4) of Shaarei Zmanim. The sof zman Kiddush Levana will be returned even if it occurs during the day. To limit the time to between tzais and alos, seegetSofZmanKidushLevana15Days(Instant, Instant).- Returns:
- the Instant representing the moment 15 days after the molad. If the time occurs between
alos and tzais, alos will be returned. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getTchilasZmanKidushLevana3Days
Returns the earliest time of Kiddush Levana according to Rabbeinu Yonah's opinion that it can be said 3 days after the molad. The time will be returned even if it occurs during the day when Kiddush Levana can't be said. UsegetTchilasZmanKidushLevana3Days(Instant, Instant)if you want to limit the time to night hours.- Returns:
- the Instant representing the moment 3 days after the molad. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getTchilasZmanKidushLevana3Days
Returns the earliest time of Kiddush Levana according to Rabbeinu Yonah's opinion that it can be said 3 days after the molad. If the time of tchilas zman Kiddush Levana occurs during the day (between alos and tzais passed to this method) it will return the following tzais. If null is passed for either alos or tzais, the actual tchilas zman Kiddush Levana will be returned, regardless of if it is during the day or not.- Parameters:
alos- the beginning of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be tzais. If either the alos or tzais parameters are null, no daytime adjustment will be made.tzais- the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be tzais. If either the alos or tzais parameters are null, no daytime adjustment will be made.- Returns:
- the Instant representing the moment 3 days after the molad. If the time occurs between alos and
tzais, tzais will be returned. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getZmanMolad
Returns the point in time of Molad as aInstantObject. For the traditional day of week, hour, minute and chalakim,JewishCalendar.getMoladAsInstant()and the not yet completedHebrewDateFormatterthat will have formatting for this.- Returns:
- the Instant representing the moment of the molad. If the molad does not occur on this day, a
nullwill be returned. - See Also:
-
getTchilasZmanKidushLevana7Days
Returns the earliest time of Kiddush Levana according to the opinions that it should not be said until 7 days after the molad. If the time of tchilas zman Kiddush Levana occurs during the day (betweenalosandtzais) it return the next tzais.- Parameters:
alos- the beginning of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be tzais. If either the alos or tzais parameters are null, no daytime adjustment will be made.tzais- the end of the Jewish day. If Kidush Levana occurs during the day (starting at alos and ending at tzais), the time returned will be tzais. If either the alos or tzais parameters are null, no daytime adjustment will be made.- Returns:
- the Instant representing the moment 7 days after the molad. If the time occurs between alos and
tzais, tzais will be returned. If the zman will not occur on this day, a
nullwill be returned. - See Also:
-
getTchilasZmanKidushLevana7Days
Returns the earliest time of Kiddush Levana according to the opinions that it should not be said until 7 days after the molad. The time will be returned even if it occurs during the day when Kiddush Levana can't be recited. UsegetTchilasZmanKidushLevana7Days(Instant, Instant)if you want to limit the time to night hours.- Returns:
- the Instant representing the moment 7 days after the molad regardless of it is day or night. If the zman
will not occur on this day, a
nullwill be returned. - See Also:
-
getSofZmanAchilasChametzGRA
This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the GRA. This time is identical to theSof zman tfilah GRAand is provided as a convenience method for those who are unaware how this zman is calculated. This time is 4 hours into the day based on the opinion of the GRA that the day is calculated from sunrise to sunset. This returns the time 4 *ZmanimCalendar.getShaahZmanisGRA()aftersea level sunrise. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantone is allowed eating chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanAchilasChametzMGA72Minutes
This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes beforesunrise. This time is identical to theSof zman tfilah MGA 72 minutes. This time is 4shaos zmaniyos(temporal hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes before sunrise tonightfallof 72 minutes after sunset. This returns the time of 4 *ZmanimCalendar.getShaahZmanis72Minutes()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time of eating chametz. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanAchilasChametzMGA72MinutesZmanis
This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72 zmaniyosminutes beforesunrise. This time is identical to theSof zman tfilah MGA 72 minutes zmanis. This time is 4shaos zmaniyos(temporal hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes zmanis before sunrise tonightfallof 72 minutes zmanis after sunset. This returns the time of 4 *getShaahZmanis72MinutesZmanis()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time of eating chametz. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanAchilasChametzMGA16Point1Degrees
This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise. This time is 4shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 16.1° below sunrise or sunset. This returns the time of 4getShaahZmanis16Point1Degrees()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time of eating chametz. If it is not erev Pesach or the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanBiurChametzGRA
This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the GRA. This time is 5 hours into the day based on the opinion of the GRA that the day is calculated from sunrise to sunset. This returns the time 5 *ZmanimCalendar.getShaahZmanisGRA()aftersea level sunrise. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time for burning chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanBiurChametzMGA72Minutes
This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes beforesunrise. This time is 5shaos zmaniyos(temporal hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes before sunrise tonightfallof 72 minutes after sunset. This returns the time of 5 *ZmanimCalendar.getShaahZmanis72Minutes()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time for burning chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanBiurChametzMGA72MinutesZmanis
This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being72minutes zmanis beforesunrise. This time is 5shaos zmaniyos(temporal hours) afterdawnbased on the opinion of the MGA that the day is calculated from adawnof 72 minutes zmanis before sunrise tonightfallof 72 minutes zmanis after sunset. This returns the time of 5 *getShaahZmanis72MinutesZmanis()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time for burning chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanBiurChametzMGA16Point1Degrees
This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Magen Avraham (MGA) based on alos being16.1°beforesunrise. This time is 5shaos zmaniyos(solar hours) afterdawnbased on the opinion of the MGA that the day is calculated from dawn to nightfall with both being 16.1° below sunrise or sunset. This returns the time of 5getShaahZmanis16Point1Degrees()afterdawn. If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time for burning chametz on Erev Pesach. If it is not erev Pesach or the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getShaahZmanisBaalHatanya
A method that returns the Baal Hatanya's a shaah zmanis (temporal hour). This forms the base for the Baal Hatanya's day based calculations that are calculated as a 1.583° dip below the horizon after sunset. According to the Baal Hatanya, shkiah amiti, true (halachic) sunset, is when the top of the sun's disk disappears from view at an elevation similar to the mountains of Eretz Yisrael. This time is calculated as the point at which the center of the sun's disk is 1.583 degrees below the horizon. A method that returns a shaah zmanis (temporal hour) calculated based on the Baal Hatanya's netz amiti and shkiah amiti using a dip of 1.583° below the sea level horizon. This calculation divides the day based on the opinion of the Baal Hatanya that the day runs fromnetz amititoshkiah amiti. The calculations are based on a day fromsea level netz amititosea level shkiah amiti. The day is split into 12 equal parts with each one being a shaah zmanis. This method is similar toAstronomicalCalendar.getTemporalHour(), but all calculations are based on a sea level sunrise and sunset.- Returns:
- the
longmillisecond length of a shaah zmanis calculated fromnetz amiti (sunrise)toshkiah amiti ("real" 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,Long.MIN_VALUEwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getAlosBaalHatanya
Returns the Baal Hatanya's alos (dawn) calculated as the time when the sun is 16.9° below the easterngeometric horizonbeforesunrise. It is based on the calculation that the time between dawn and netz amiti (sunrise) is 72 minutes, the time that is takes to walk 4 mil at 18 minutes a mil (Rambam and others). The sun's position at 72 minutes beforenetz amiti (sunrise)in Jerusalem around the equinox / equilux is 16.9° belowgeometric zenith.- Returns:
- The
Instantof dawn. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getSofZmanShmaBaalHatanya
This method returns the latest zman krias shema (time to recite Shema in the morning). This time is 3shaos zmaniyos(solar hours) afternetz amiti (sunrise)based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 3 *getShaahZmanisBaalHatanya()afternetz amiti (sunrise).- Returns:
- the
Instantof the latest zman shema according to the Baal Hatanya. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaBaalHatanya
This method returns the latest zman tfilah (time to recite the morning prayers). This time is 4 hours into the day based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 4 *getShaahZmanisBaalHatanya()afternetz amiti (sunrise).- Returns:
- the
Instantof the latest zman tfilah. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanAchilasChametzBaalHatanya
This method returns the latest time one is allowed eating chametz on Erev Pesach according to the opinion of the Baal Hatanya. This time is identical to theSof zman tfilah Baal Hatanya. This time is 4 hours into the day based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 4getShaahZmanisBaalHatanya()afternetz amiti (sunrise). If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantone is allowed eating chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanBiurChametzBaalHatanya
This method returns the latest time for burning chametz on Erev Pesach according to the opinion of the Baal Hatanya. This time is 5 hours into the day based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 5 *getShaahZmanisBaalHatanya()afternetz amiti (sunrise). If it is not erev Pesach, a null will be returned.- Returns:
- the
Instantof the latest time for burning chametz on Erev Pesach. If it is not erev Pesach or 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaBaalHatanya
This method returns the time of mincha gedola. Mincha gedola is the earliest time one can pray mincha. The Rambam is of the opinion that it is better to delay mincha untilmincha ketanawhile the Ra"sh, Tur, GRA and others are of the opinion that mincha can be prayed lechatchila starting at mincha gedola. This is calculated as 6.5sea level solar hoursafternetz amiti (sunrise). This calculation is based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 6.5 *getShaahZmanisBaalHatanya()afternetz amiti ("real" sunrise).- Returns:
- the
Instantof the time of mincha gedola according to the Baal Hatanya. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
- TODO:
- Consider adjusting this to calculate the time as 30 clock or zmaniyos minutes after either
astronomical chatzosorchatzos as half a dayforcalculatorsthat support it, based onZmanimCalendar.isUseAstronomicalChatzos().
-
getMinchaKetanaBaalHatanya
This method returns the time of mincha ketana. This is the preferred earliest time to pray mincha in the opinion of the Rambam and others. For more information on this see the documentation onmincha gedola. This is calculated as 9.5sea level solar hoursafternetz amiti (sunrise). This calculation is calculated based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 9.5 *getShaahZmanisBaalHatanya()afternetz amiti (sunrise).- Returns:
- the
Instantof the time of mincha ketana. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHaminchaBaalHatanya
This method returns the time of plag hamincha. This is calculated as 10.75 hours after sunrise. This calculation is based on the opinion of the Baal Hatanya that the day is calculated from sunrise to sunset. This returns the time 10.75 *getShaahZmanisBaalHatanya()afternetz amiti (sunrise). See About Our Zmanim Calculations @ Chabad.org for more details on this calculation.- Returns:
- the
Instantof the time of plag hamincha. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzaisBaalHatanya
A method that returns tzais (nightfall) when the sun is 6° below the western geometric horizon (90°) aftersunset. This tzais / nightfall based on the opinion of the Baal Hatanya. This calculation is based on the position of the sun about 24 minutes aftersunsetin Jerusalem around the equinox / equilux, which is 6° belowgeometric zenith. See About Our Zmanim Calculations @ Chabad.org that is based onshkiah amitis as 1.583° below the horizoncalculated around the equinox / equilux that computes 3.516 minutes after sunset. To this, 18 minutes of 3/4 of a 24-minute mil and two minutes for bain hashmashos of Rav Yosi is added. This calculation computes the the sun being 5.83° below the horizon (very close to the slightly latergetTzaisGeonim5Point95Degrees()that was calculated based on 4 fixed minutes) and it is rounded up to 6°.- Returns:
- The
Instantof nightfall. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA18DegreesToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only. The half a day starts at alos defined as18°and ends atfixed local chatzos. Sof Zman Shema is 3 shaos zmaniyos (solar hours) after alos or half of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA16Point1DegreesToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only. The half a day starts at alos defined as16.1°and ends atfixed local chatzos. Sof Zman Shema is 3 shaos zmaniyos (solar hours) after this alos or half of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA90MinutesToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only. The half a day starts at alos defined as90 minutes before sunriseand ends atfixed local chatzos. Sof Zman Shema is 3 shaos zmaniyos (solar hours) after this alos or half of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaMGA72MinutesToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the Magen Avraham (MGA) that the day is calculated from dawn to nightfall, but calculated using the first half of the day only. The half a day starts at alos defined as72 minutes before sunriseand ends atfixed local chatzos. Sof Zman Shema is 3 shaos zmaniyos (solar hours) after this alos or half of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanShmaGRASunriseToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman krias shema (latest time to recite Shema in the morning) according to the opinion of the GRA that the day is calculated from sunrise to sunset, but calculated using the first half of the day only. The half a day starts atsunriseand ends atfixed local chatzos. Sof zman Shema is 3 shaos zmaniyos (solar hours) after sunrise or half of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSofZmanTfilaGRASunriseToFixedLocalChatzos
This method returns Rav Moshe Feinstein's opinion of the calculation of sof zman tfila (zman tfilah (the latest time to recite the morning prayers)) according to the opinion of the GRA that the day is calculated from sunrise to sunset, but calculated using the first half of the day only. The half a day starts atsunriseand ends atfixed local chatzos. Sof zman tefila is 4 shaos zmaniyos (solar hours) after sunrise or 2/3 of this half-day.- Returns:
- the
Instantof the latest zman krias shema. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaGedolaGRAFixedLocalChatzos30Minutes
This method returns Rav Moshe Feinstein's opinion of the calculation of mincha gedola, the earliest time one can pray mincha according to theGRA calculated as 30 minutes afterfixed local chatzos.- Returns:
- the
Instantof the time of mincha gedola. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getMinchaKetanaGRAFixedLocalChatzosToSunset
This method returns Rav Moshe Feinstein's opinion of the calculation of mincha ketana (the preferred time to recite the mincha prayers according to the opinion of the Rambam and others) calculated according to the GRA that is 3.5 shaos zmaniyos (solar hours) afterfixed local chatzos.- Returns:
- the
Instantof the time of mincha gedola. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getPlagHaminchaGRAFixedLocalChatzosToSunset
This method returns Rav Moshe Feinstein's opinion of the calculation of plag hamincha. This method returns plag hamincha calculated according to the GRA that the day ends at sunset and is 4.75 shaos zmaniyos (solar hours) afterfixed local chatzos.- Returns:
- the
Instantof the time of mincha gedola. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getTzais50Minutes
Method to return tzais (dusk) calculated as 50 minutes aftersunsetorsea level sunset(depending on theZmanimCalendar.isUseElevation()setting). This method returns tzais (nightfall) based on the opinion of Rabbi Moshe Feinstein for the New York area. This time should not be used for latitudes other than ones similar to the latitude of the NY area.- Returns:
- the
Instantrepresenting the time. 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, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation.
-
getSamuchLeMinchaKetanaGRA
A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated according to the GRA using a day starting at sunrise and ending at sunset. This is the time that eating or other activity can't begin prior to praying mincha. The calculation used is 9 *ZmanimCalendar.getShaahZmanisGRA()aftersunriseorelevation adjusted sunrise(depending on theZmanimCalendar.isUseElevation()setting). See the Mechaber and Mishna Berurah 232 and 249:2.- Returns:
- the
Instantof the time of samuch lemincha ketana. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSamuchLeMinchaKetana16Point1Degrees
A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated based on a day from and ending a day starting atalos 16.1°and ending attzais 16.1°. This is the time that eating or other activity can't begin prior to praying mincha. The calculation used is 9 *getShaahZmanis16Point1Degrees()afteralos 16.1°. See the Mechaber and Mishna Berurah 232 and 249:2.- Returns:
- the
Instantof the time of samuch lemincha ketana. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSamuchLeMinchaKetana72Minutes
A method for calculating samuch lemincha ketana, / near mincha ketana time that is half an hour beforeZmanimCalendar.getMinchaKetanaGRA()or is 9 * shaos zmaniyos (solar hours) after the start of the day, calculated based on a day from and ending a day starting atalos 72 minutesand ending attzais 72 minutes. This is the time that eating or other activity can't begin prior to praying mincha. The calculation used is 9 *ZmanimCalendar.getShaahZmanis72Minutes()afteralos 72 minutes. See the Mechaber and Mishna Berurah 232 and 249:2.- Returns:
- the
Instantof the time of samuch lemincha ketana. If the calculation can't be computed such as northern and southern locations even south of the Arctic Circle and north of the Antarctic Circle where the sun may not reach low enough below the horizon for this calculation, anullwill be returned. See detailed explanation on top of theAstronomicalCalendardocumentation. - See Also:
-
getSunsetOrWesternmostSolarAzimuth
A method that returns sunset if it occurs, or the time that the sun is at its westernmost position (azimuth of 270°), if sunset will not occur on that day, such as in the Arctic or Antarctic circles. There are some opinions that in Polar regions where there are days of no sunrise or sunset, that the definition of a day during this period is a 24-hour day, and the day-night boundary is when the sun is at its westernmost position. sunrise in this opinion is when the sun is at its easternmost position. FIXME link opinions of the Ben Ish chai etc.- Returns:
- sunset if it occurs, or the time that the sun will reach its westernmost position (azimuth 270°), if sunset will not occur that day. If there is no sunset this day, and the azimuth 270 will not occur, a null will be returned.
- See Also:
-
getSunriseOrEasternmostSolarAzimuth
A method that returns sunrise if it occurs, or the time that the sun is at its easternmost position (azimuth of 900°), if sunset will not occur on that day, such as in the Arctic or Antarctic circles. There are some opinions that in Polar regions where there are days of no sunrise or sunset, that the definition of a day during this period is a 24-hour day, and the day-night boundary is when the sun is at its easternmost position. Sunset in this opinion is when the sun is at its westernmost position. FIXME link opinions of the Ben Ish chai etc.- Returns:
- sunrise if it occurs, or the time that the sun will reach its easternmost position (azimuth 90°), if sunrise will not occur that day. If there is no sunrise this day, and the azimuth 90 will not occur, a null will be returned.
- See Also:
-
equals
- Overrides:
equalsin classZmanimCalendar- See Also:
-
hashCode
- Overrides:
hashCodein classZmanimCalendar- See Also:
-