KosherJava Zmanim Homepage
Includes a dynamic Zmanim calendar generator

net.sourceforge.zmanim
Class ComplexZmanimCalendar

java.lang.Object
  extended bynet.sourceforge.zmanim.AstronomicalCalendar
      extended bynet.sourceforge.zmanim.ZmanimCalendar
          extended bynet.sourceforge.zmanim.ComplexZmanimCalendar

public class ComplexZmanimCalendar
extends ZmanimCalendar

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 Yisroel Dovid Harfenes.
For an example of the number of different zmanim made available by this class, there are methods to return 12 different calculations for alos (dawn) available in this class. The real power of this API is the ease in calculating zmanim that are not part of the API. The methods for doing zmanim calculations not present in this or it's superclass the 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.2094; //Lakewood, NJ
 //the String parameter in getTimeZone() has to be a valid timezone listed in TimeZone.getAvailableIDs()
 TimeZone timeZone = TimeZone.getTimeZone("America/New_York");
 GeoLocation location = new GeoLocation(locationName, latitude, longitude,
 		timeZone);
 ComplexZmanimCalendar czc = new ComplexZmanimCalendar(location);
 
Note: For locations such as Israel where the beginning and end of daylight savings time can fluctuate from year to year 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) use:
 Date alos14 = czc.getSunriseOffsetByDegrees(14);
 
To get mincha gedola calculated based on the 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:
 Date minchaGedola = czc.getTimeOffset(czc.getAlos16point1Degrees(), czc
 		.getShaahZmanis16Point1Degrees() * 6.5);
 
A little more complex example would be calculating plag hamincha based on a shaah zmanis that was not present in this class. While a drop more complex it is still rather easy. For example if you wanted to calculate plag based on the day starting 12° before sunrise and ending 12° after sunset as calculated in the calendars in Manchester, England (there is nothing that would prevent your calculating the day using sunrise and sunset offsets that are not identical degrees, but this would lead to chatzos being a time other than the solar transit (solar midday)). The steps involved would be to first calculate the shaah zmanis and than use that time in milliseconds to calculate 10.75 hours after sunrise starting at 12° before sunset
 long shaahZmanis = czc.getSolarHour(czc.getSunriseOffsetByDegrees(12), czc
 		.getSunriseOffsetByDegrees(12));
 Date plag = getTimeOffset(czc.getSunriseOffsetByDegrees(12),
 		shaahZmanis * 10.75);
 

FIXME Fix calculation to allow alos or other zmanim before midnight in extreme northern or southern latitudes.

Disclaimer:

While I did my best to get accurate results please do not rely on these zmanim for halacha lemaaseh

Version:
1.1
Author:
© Eliyahu Hershfeld 2004 - 2007

Field Summary
protected static double ZENITH_10_POINT_2
          The zenith of 10.2° below geometric zenith (90°).
protected static double ZENITH_11_DEGREES
          The zenith of 11° below geometric zenith (90°).
protected static double ZENITH_11_POINT_5
          The zenith of 11.5° below geometric zenith (90°).
protected static double ZENITH_13_DEGREES
          The zenith of 13° below geometric zenith (90°).
protected static double ZENITH_19_POINT_8
          The zenith of 19.8° below geometric zenith (90°).
protected static double ZENITH_26_DEGREES
          The zenith of 26° below geometric zenith (90°).
protected static double ZENITH_5_POINT_95
          The zenith of 5.95° below geometric zenith (90°).
protected static double ZENITH_7_POINT_083
          The zenith of 7.083° below geometric zenith (90°).
 
Fields inherited from class net.sourceforge.zmanim.ZmanimCalendar
ZENITH_16_POINT_1, ZENITH_8_POINT_5
 
Fields inherited from class net.sourceforge.zmanim.AstronomicalCalendar
ASTRONOMICAL_ZENITH, CIVIL_ZENITH, GEOMETRIC_ZENITH, MINUTE_MILLIS, NAUTICAL_ZENITH
 
Constructor Summary
ComplexZmanimCalendar(GeoLocation location)
           
 
Method Summary
 boolean equals(Object object)
           
 Date getAlos120()
          Method to return alos (dawn) calculated using 120 minutes before sea level sunrise (no adjustment for elevation is made) based on the time to walk the distance of 5 Mil( Ula) at 24 minutes a Mil.
 Date getAlos120Zmanis()
          Method to return alos (dawn) calculated using 120 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/6th of the day before sea level sunrise.
 Date getAlos16Point1Degrees()
          Method to return alos (dawn) calculated when the sun is 16.1° below the eastern geometric horizon before sunrise.
 Date getAlos18Degrees()
          to return alos (dawn) calculated when the sun is 18° below the eastern geometric horizon before sunrise.
 Date getAlos19Point8Degrees()
          Method to return alos (dawn) calculated when the sun is 19.8° below the eastern geometric horizon before sunrise.
 Date getAlos26Degrees()
          Method to return alos (dawn) calculated when the sun is 26° below the eastern geometric horizon before sunrise.
 Date getAlos60()
          Method to return alos (dawn) calculated using 60 minutes before sea level sunrise on the time to walk the distance of 4 Mil at 15 minutes a Mil.
 Date getAlos72Zmanis()
          Method to return alos (dawn) calculated using 72 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/10th of the day before sea level sunrise.
 Date getAlos90()
          Method to return alos (dawn) calculated using 90 minutes before sea level sunrise on the time to walk the distance of 4 Mil at 22.5 minutes a Mil.
 Date getAlos90Zmanis()
          Method to return alos (dawn) calculated using 90 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/8th of the day before sea level sunrise.
 Date getAlos96()
          Method to return alos (dawn) calculated using 96 minutes before sea level sunrise based on the time to walk the distance of 4 Mil at 24 minutes a Mil.
 Date getAlos96Zmanis()
          Method to return alos (dawn) calculated using 90 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/8th of the day before sea level sunrise.
 Date getBainHasmashosRT13Degrees()
           
 Date getBainHasmashosRT13Point5MinutesBefore7Point083Degrees()
           
 Date getBainHasmashosRT2Stars()
           
 Date getBainHasmashosRT58Point5Minutes()
           
 Date getFixedLocalChatzos()
          A method that returns the local time for fixed chatzos.
 long getLocalTimeOffset()
          A method that will return the geographic timezone offset of the users local.
 Date getMinchaGedola16Point1Degrees()
           
 Date getMinchaGedola30Minutes()
          This method returns mincha gedola calculated as 30 minutes after chatzos and not 1/2 of a shaah zmanis after chatzos as calculated by ZmanimCalendar.getMinchaGedola().
 Date getMinchaGedola72Minutes()
           
 Date getMinchaGedolaGreaterThan30()
          This is a conveniance methd that returns the later of ZmanimCalendar.getMinchaGedola()and getMinchaGedola30Minutes().
 Date 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.
 Date 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.
 Date getMisheyakir10Point2Degrees()
          This method returns misheyakir based on the position of the sun when it is 10.2° below geometric zenith (90°).
 Date getMisheyakir11Degrees()
          This method returns misheyakir based on the position of the sun when it is 11° below geometric zenith (90°).
 Date getMisheyakir11Point5Degrees()
          This method returns misheyakir based on the position of the sun when it is 11.5° below geometric zenith (90°).
 Date getPlagAlos16Point1ToTzaisGeonim7Point083Degrees()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at tzais. 10.75 shaos zmaniyos are calculated based on this day and added to alos to reach this time.
 Date getPlagAlosToSunset()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at sunset. 10.75 shaos zmaniyos are calculated based on this day and added to alos to reach this time.
 Date getPlagHamincha120Minutes()
          This method returns the time of plag hamincha.
 Date getPlagHamincha120MinutesZmanis()
          This method returns the time of plag hamincha.
 Date getPlagHamincha16Point1Degrees()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at tzais 16.1°.
 Date getPlagHamincha18Degrees()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 18° and ends at tzais 18°.
 Date getPlagHamincha19Point8Degrees()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 19.8° and ends at tzais 19.8°.
 Date getPlagHamincha26Degrees()
          This method returns the time of plag hamincha based on the opinion that the day starts at alos 26° and ends at tzais 26°.
 Date getPlagHamincha60Minutes()
          This method returns the time of plag hamincha.
 Date getPlagHamincha72Minutes()
          This method returns the time of plag hamincha.
 Date getPlagHamincha72MinutesZmanis()
          This method returns the time of plag hamincha.
 Date getPlagHamincha90Minutes()
          This method returns the time of plag hamincha.
 Date getPlagHamincha90MinutesZmanis()
          This method returns the time of plag hamincha.
 Date getPlagHamincha96Minutes()
          This method returns the time of plag hamincha.
 Date getPlagHamincha96MinutesZmanis()
          This method returns the time of plag hamincha.
 long getShaahZmanis120Minutes()
          Method to return a shaah zmanis (temporal hour) calculated using a dip of 120 minutes.
 long getShaahZmanis120MinutesZmanis()
          Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 120 minutes zmaniyos before sunrise.
 long getShaahZmanis16Point1Degrees()
          Method to return a shaah zmanis (temporal hour) calculated using a dip of 16.1°.
 long getShaahZmanis18Degrees()
          Method to return a shaah zmanis (temporal hour) calculated using a 18° dip.
 long getShaahZmanis19Point8Degrees()
          Method to return a shaah zmanis (temporal hour) calculated using a 19.8° dip.
 long getShaahZmanis26Degrees()
          Method to return a shaah zmanis (temporal hour) calculated using a dip of 26°.
 long getShaahZmanis60Minutes()
          Method to return a shaah zmanis (solar hour) according to the opinion of the MGA.
 long getShaahZmanis72Minutes()
          Method to return a shaah zmanis (solar hour) according to the opinion of the MGA.
 long getShaahZmanis72MinutesZmanis()
          Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 72 minutes zmaniyos before sunrise.
 long getShaahZmanis90Minutes()
          Method to return a shaah zmanis (temporal hour) calculated using a dip of 90 minutes.
 long getShaahZmanis90MinutesZmanis()
          Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 90 minutes zmaniyos before sunrise.
 long getShaahZmanis96Minutes()
          Method to return a shaah zmanis (temporal hour) calculated using a dip of 96 minutes.
 long getShaahZmanis96MinutesZmanis()
          Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 96 minutes zmaniyos before sunrise.
 Date getSofZmanShma3HoursBeforeChatzos()
          This method returns the latest zman krias shema (time to say Shema in the morning) calculated as 3 hours before ZmanimCalendar.getChatzos().
 Date getSofZmanShmaAlos16Point1ToSunset()
          This method returns the latest zman krias shema (time to say Shema in the morning) based on the opinion that the day starts at alos 16.1° and ends at sunset. 3 shaos zmaniyos are calculated based on this day and added to alosto reach this time.
 Date getSofZmanShmaAlos16Point1ToTzaisGeonim7Point083Degrees()
          This method returns the latest zman krias shema (time to say Shema in the morning) based on the opinion that the day starts at alos 16.1° and ends at tzais 7.083°. 3 shaos zmaniyos are calculated based on this day and added to alos to reach this time.
 Date getSofZmanShmaFixedLocal()
          A method that returns the latest zman krias shema (time to say Shema in the morning) calculated as 3 hours before getFixedLocalChatzos().
 Date getSofZmanShmaKolEliyahu()
           
 Date getSofZmanShmaMGA120Minutes()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 120 minutes before sunrise.
 Date getSofZmanShmaMGA16Point1Degrees()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 16.1° before sunrise.
 Date getSofZmanShmaMGA19Point8Degrees()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 19.8° before sunrise.
 Date getSofZmanShmaMGA72Minutes()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 72 minutes before sunrise.
 Date getSofZmanShmaMGA72MinutesZmanis()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise.
 Date getSofZmanShmaMGA90Minutes()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes before sunrise.
 Date getSofZmanShmaMGA90MinutesZmanis()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise.
 Date getSofZmanShmaMGA96Minutes()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 96 minutes before sunrise.
 Date getSofZmanShmaMGA96MinutesZmanis()
          This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 96 minutes zmaniyos before sunrise.
 Date getSofZmanTfila2HoursBeforeChatzos()
          This method returns the latest zman tfila (time to say the morning prayers) calculated as 2 hours befor ZmanimCalendar.getChatzos().
 Date getSofZmanTfilaFixedLocal()
          This method returns the latest zman tfila (time to say the morning prayers) calculated as 2 hours before getFixedLocalChatzos().
 Date getSofZmanTfilaMGA120Minutes()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 120 minutes before sunrise.
 Date getSofZmanTfilaMGA16Point1Degrees()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 16.1° before sunrise.
 Date getSofZmanTfilaMGA19Point8Degrees()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 19.8° before sunrise.
 Date getSofZmanTfilaMGA72Minutes()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 72 minutes before sunrise.
 Date getSofZmanTfilaMGA72MinutesZmanis()
          This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 72 minutes zmaniyos before sunrise.
 Date getSofZmanTfilaMGA90Minutes()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 90 minutes before sunrise.
 Date getSofZmanTfilaMGA90MinutesZmanis()
          This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise.
 Date getSofZmanTfilaMGA96Minutes()
          This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 96 minutes before sunrise.
 Date getSofZmanTfilaMGA96MinutesZmanis()
          This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 96 minutes zmaniyos before sunrise.
 Date getTzais120()
          This method returns tzais (nightfall) based on the opinion of the Magen Avraham that the time to walk the distance of a Mil in the Ramba"ms 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 after sea level shkiah (sunset).
 Date getTzais120Zmanis()
          Method to return tzais (dusk) calculated using 120 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.
 Date getTzais16Point1Degrees()
          For information on how this is calculated see the comments on getAlos16Point1Degrees()
 Date getTzais18Degrees()
           
 Date getTzais19Point8Degrees()
          For information on how this is calculated see the comments on getAlos19Point8Degrees()
 Date getTzais26Degrees()
          For information on how this is calculated see the comments on getAlos26Degrees()
 Date getTzais60()
          This method returns the tzais (nightfall) based on the opinion of the Chavas Yair and Divray Malkiel that the time to walk the distance of a Mil is 15 minutes for a total of 60 minutes for 4 mil after sea level sunset.
 Date getTzais72Zmanis()
          Method to return tzais (dusk) calculated using 72 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.
 Date getTzais90()
          Method to return tzais (dusk) calculated as 90 minutes after sea level sunset.
 Date getTzais90Zmanis()
          Method to return tzais (dusk) calculated using 90 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.
 Date getTzais96()
          A method to return tzais (dusk) calculated as 96 minutes after sea level sunset.
 Date getTzais96Zmanis()
          Method to return tzais (dusk) calculated using 96 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.
 Date getTzaisGeonim5Point95Degrees()
          This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 5.95° below the western horizon.
 Date getTzaisGeonim7Point083Degrees()
          This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 7.083° below the western horizon.
 Date getTzaisGeonim8Point5Degrees()
          This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 8.5° below the western horizon.
 int hashCode()
           
static void main(String[] args)
           
 
Methods inherited from class net.sourceforge.zmanim.ZmanimCalendar
getAlos72, getAlosHashachar, getCandelLighting, getCandleLightingOffset, getChatzos, getMinchaGedola, getMinchaKetana, getPlagHamincha, getShaahZmanisGra, getShaahZmanisMGA, getSofZmanShmaGRA, getSofZmanShmaMGA, getSofZmanTfilaGRA, getSofZmanTfilaMGA, getTzais, getTzais72, setCandleLightingOffset
 
Methods inherited from class net.sourceforge.zmanim.AstronomicalCalendar
getAstronomicalCalculator, getBeginAstronomicalTwilight, getBeginCivilTwilight, getBeginNauticalTwilight, getCalendar, getEndAstronomicalTwilight, getEndCivilTwilight, getEndNauticalTwilight, getGeoLocation, getSeaLevelSunrise, getSeaLevelSunset, getSunrise, getSunriseOffsetByDegrees, getSunset, getSunsetOffsetByDegrees, getSunTransit, getTemporalHour, getTemporalHour, getTimeOffset, getTimeOffset, getUTCSeaLevelSunrise, getUTCSeaLevelSunset, getUTCSunrise, getUTCSunset, setAstronomicalCalculator, setCalendar, setGeoLocation, toString, toXML, toXML2
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZENITH_5_POINT_95

protected static final double ZENITH_5_POINT_95
The zenith of 5.95° below geometric zenith (90°). This calculation is used for calculating tzais (nightfall) according to some opinions. This calculation is based on the position of the sun 24 minutes after sunset in Jerusalem in the equinox which calculates to 5.95° below geometric zenith

See Also:
getTzaisGeonim5Point95Degrees(), Constant Field Values

ZENITH_7_POINT_083

protected static final double ZENITH_7_POINT_083
The zenith of 7.083° below geometric zenith (90°). This is often referred to as 7°5' or 7° and 5 minutes. This calculation is used for calculating alos (dawn) and tzais (nightfall) according to some opinions. This calculation is based on the position of the sun 30 minutes after sunset in Jerusalem in the equinox which calculates to 7.0833333° below geometric zenith

See Also:
getTzaisGeonim7Point083Degrees(), getBainHasmashosRT13Point5MinutesBefore7Point083Degrees(), Constant Field Values

ZENITH_10_POINT_2

protected static final double ZENITH_10_POINT_2
The zenith of 10.2° below geometric 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 before sunrise in Jerusalem in the equinox which calculates to 10.2° below geometric zenith

See Also:
getMisheyakir10Point2Degrees(), Constant Field Values

ZENITH_11_DEGREES

protected static final double ZENITH_11_DEGREES
The zenith of 11° below geometric 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 before sunrise in Jerusalem in the equinox which calculates to 11° below geometric zenith

See Also:
getMisheyakir11Degrees(), Constant Field Values

ZENITH_11_POINT_5

protected static final double ZENITH_11_POINT_5
The zenith of 11.5° below geometric 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 before sunrise in Jerusalem in the equinox which calculates to 11.5° below geometric zenith

See Also:
getMisheyakir11Point5Degrees(), Constant Field Values

ZENITH_13_DEGREES

protected static final double ZENITH_13_DEGREES
The zenith of 13° below geometric zenith (90°). This calculation is used for calculating Rabainu Tam's bain hashmashos according to some opinions.

See Also:
getBainHasmashosRT13Degrees(), Constant Field Values

ZENITH_19_POINT_8

protected static final double ZENITH_19_POINT_8
The zenith of 19.8° below geometric zenith (90°). This calculation is used for calculating alos (dawn) and tzais (nightfall) according to some opinions. This calculation is based on the position of the sun 90 minutes after sunset in Jerusalem in the equinox which calculates to 19.8° below geometric zenith

See Also:
getTzais19Point8Degrees(), getAlos19Point8Degrees(), getAlos90(), getTzais90(), Constant Field Values

ZENITH_26_DEGREES

protected static final double ZENITH_26_DEGREES
The zenith of 26° below geometric zenith (90°). This calculation is used for calculating alos (dawn) and tzais (nightfall) according to some opinions. This calculation is based on the position of the sun 120 minutes after sunset in Jerusalem in the equinox which calculates to 26° below geometric zenith

See Also:
getAlos26Degrees(), getTzais26Degrees(), getAlos120(), getTzais120(), Constant Field Values
Constructor Detail

ComplexZmanimCalendar

public ComplexZmanimCalendar(GeoLocation location)
Method Detail

getShaahZmanis19Point8Degrees

public long 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 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 long millisecond length of a shaah zmanis.

getShaahZmanis18Degrees

public long 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 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 long millisecond length of a shaah zmanis.

getShaahZmanis26Degrees

public long 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 MGA that the day runs from dawn to dusk. Dawn for this calculation is when the sun is 26° below the eastern geometric horizon before sunrise. Dusk for this is when the sun is 26° below the western geometric horizon after sunset. This day is split into 12 equal parts with each part being a shaah zmanis.

Returns:
the long millisecond length of a shaah zmanis.

getShaahZmanis16Point1Degrees

public long 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 long millisecond length of a shaah zmanis.
See Also:
getAlos16Point1Degrees(), getTzais16Point1Degrees(), getSofZmanShmaMGA16Point1Degrees(), getSofZmanTfilaMGA16Point1Degrees(), getMinchaGedola16Point1Degrees(), getMinchaKetana16Point1Degrees(), getPlagHamincha16Point1Degrees()

getShaahZmanis60Minutes

public long getShaahZmanis60Minutes()
Method to return a shaah zmanis (solar hour) according to the opinion of the 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 mothods of calculating a shaah zmanis are available in the subclass ComplexZmanimCalendar

Returns:
the long millisecond length of a shaah zmanis.

getShaahZmanis72Minutes

public long getShaahZmanis72Minutes()
Method to return a shaah zmanis (solar hour) according to the opinion of the 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 72 minutes before sunrise and dusk is 72 minutes after sunset. This day is split into 12 equal parts with each part being a shaah zmanis. Alternate mothods of calculating a shaah zmanis are available in the subclass ComplexZmanimCalendar

Returns:
the long millisecond length of a shaah zmanis.

getShaahZmanis72MinutesZmanis

public long getShaahZmanis72MinutesZmanis()
Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 72 minutes zmaniyos before sunrise. 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 from sunrise to sunset.

Returns:
the long millisecond length of a shaah zmanis.
See Also:
getAlos72Zmanis(), getTzais72Zmanis()

getShaahZmanis90Minutes

public long 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 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 long millisecond length of a shaah zmanis.

getShaahZmanis90MinutesZmanis

public long getShaahZmanis90MinutesZmanis()
Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 90 minutes zmaniyos before sunrise. 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 identical to 1/8th of the day from sunrise to sunset.

Returns:
the long millisecond length of a shaah zmanis.
See Also:
getAlos90Zmanis(), getTzais90Zmanis()

getShaahZmanis96MinutesZmanis

public long getShaahZmanis96MinutesZmanis()
Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 96 minutes zmaniyos before sunrise. 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 from sunrise to sunset.

Returns:
the long millisecond length of a shaah zmanis.
See Also:
getAlos96Zmanis(), getTzais96Zmanis()

getShaahZmanis96Minutes

public long 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 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 long millisecond length of a shaah zmanis.

getShaahZmanis120Minutes

public long 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 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.

Returns:
the long millisecond length of a shaah zmanis.

getShaahZmanis120MinutesZmanis

public long getShaahZmanis120MinutesZmanis()
Method to return a shaah zmanis (temporal hour) according to the opinion of the MGA based on alos being 120 minutes zmaniyos before sunrise. 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 from sunrise to sunset.

Returns:
the long millisecond length of a shaah zmanis.
See Also:
getAlos120Zmanis(), getTzais120Zmanis()

getPlagHamincha120MinutesZmanis

public Date getPlagHamincha120MinutesZmanis()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 * getShaahZmanis96MinutesZmanis() after dawn.

Returns:
the Date of the time of plag hamincha.

getPlagHamincha120Minutes

public Date getPlagHamincha120Minutes()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 *getShaahZmanis72Minutes() after ZmanimCalendar.getAlos72().

Returns:
the Date of the time of plag hamincha.

getAlos60

public Date getAlos60()
Method to return alos (dawn) calculated using 60 minutes before sea level sunrise on the time to walk the distance of 4 Mil at 15 minutes a Mil. This is based on the opinion of most 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 Date representing the time.

getAlos72Zmanis

public Date getAlos72Zmanis()
Method to return alos (dawn) calculated using 72 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/10th of the day before sea level 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 starting at sunrise and ending at sunset. The actual alculation is AstronomicalCalendar.getSunrise()- ( ZmanimCalendar.getShaahZmanisGra() * 1.2). This calculation is used in the calendars published by Hisachdus Harabanim D'Artzos Habris Ve'Kanada

Returns:
the Date representing the time.
See Also:
ZmanimCalendar.getShaahZmanisGra()

getAlos96

public Date getAlos96()
Method to return alos (dawn) calculated using 96 minutes before sea level sunrise based on the time to walk the distance of 4 Mil at 24 minutes a Mil. This is based on the opinion of most 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 Date representing the time.

getAlos90Zmanis

public Date getAlos90Zmanis()
Method to return alos (dawn) calculated using 90 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/8th of the day before sea level sunrise. 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 = 720) /8 =90 based on the day starting at sunrise and ending at sunset. The actual calculation is AstronomicalCalendar.getSunrise() - (ZmanimCalendar.getShaahZmanisGra() * 1.5).

Returns:
the Date representing the time.
See Also:
ZmanimCalendar.getShaahZmanisGra()

getAlos96Zmanis

public Date getAlos96Zmanis()
Method to return alos (dawn) calculated using 90 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/8th of the day before sea level sunrise. This is based on a 24 minute Mil so the time for 4 Mil is 90 minutes which is 1/7.5th of a day (12 * 60 = 720) / 7.5 =96 based on the day starting at sunrise and ending at sunset. The actual calculation is AstronomicalCalendar.getSunrise() - (ZmanimCalendar.getShaahZmanisGra() * 1.6).

Returns:
the Date representing the time.
See Also:
ZmanimCalendar.getShaahZmanisGra()

getAlos90

public Date getAlos90()
Method to return alos (dawn) calculated using 90 minutes before sea level sunrise on the time to walk the distance of 4 Mil at 22.5 minutes a Mil. This is based on the opinion of most 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 Date representing the time.

getAlos120

public Date getAlos120()
Method to return alos (dawn) calculated using 120 minutes before sea level sunrise (no adjustment for elevation is made) based on the time to walk the distance of 5 Mil( Ula) at 24 minutes a Mil. This is based on the opinion of most 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).

Returns:
the Date representing the time.

getAlos120Zmanis

public Date getAlos120Zmanis()
Method to return alos (dawn) calculated using 120 minutes zmaniyos( GR"A and the Baal Hatanya) or 1/6th of the day before sea level sunrise. 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 = 720) / 6 =120 based on the day starting at sunrise and ending at sunset. The actual calculation is AstronomicalCalendar.getSunrise() - (ZmanimCalendar.getShaahZmanisGra() * 2).

Returns:
the Date representing the time.
See Also:
ZmanimCalendar.getShaahZmanisGra()

getAlos26Degrees

public Date getAlos26Degrees()
Method to return alos (dawn) calculated when the sun is 26° below the eastern geometric horizon before sunrise. This calculation is based on the same calculation of 120 minutes but 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 in the equinox which calculates to 26° below geometric zenith.

Returns:
the Date representing alos.
See Also:
ZENITH_26_DEGREES, getAlos120(), getTzais120()

getAlos18Degrees

public Date getAlos18Degrees()
to return alos (dawn) calculated when the sun is 18° below the eastern geometric horizon before sunrise.

Returns:
the Date representing alos.
See Also:
AstronomicalCalendar.ASTRONOMICAL_ZENITH

getAlos19Point8Degrees

public Date getAlos19Point8Degrees()
Method to return alos (dawn) calculated when the sun is 19.8° below the eastern geometric horizon before sunrise. This calculation is based on the same calculation of 90 minutes 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 in the equinox which calculates to 19.8° below geometric zenith

Returns:
the Date representing alos.
See Also:
ZENITH_19_POINT_8, getAlos90()

getAlos16Point1Degrees

public Date getAlos16Point1Degrees()
Method to return alos (dawn) calculated when the sun is 16.1° below the eastern geometric horizon before sunrise. This calculation is based on the same calculation of 72 minutes but uses a degree based calculation instead of 72 exact minutes. This calculation is based on the position of the sun 72 minutes before sunrise in Jerusalem in the equinox which calculates to 16.1° below geometric zenith.

Returns:
the Date representing alos.
See Also:
ZmanimCalendar.ZENITH_16_POINT_1, ZmanimCalendar.getAlos72()

getMisheyakir11Point5Degrees

public Date getMisheyakir11Point5Degrees()
This method returns misheyakir based on the position of the sun when it is 11.5° below geometric 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 before sunrisein Jerusalem in the equinox which calculates to 11.5° below geometric zenith

See Also:
ZENITH_11_POINT_5

getMisheyakir11Degrees

public Date getMisheyakir11Degrees()
This method returns misheyakir based on the position of the sun when it is 11° below geometric 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 before sunrisein Jerusalem in the equinox which calculates to 11° below geometric zenith

See Also:
ZENITH_11_DEGREES

getMisheyakir10Point2Degrees

public Date getMisheyakir10Point2Degrees()
This method returns misheyakir based on the position of the sun when it is 10.2° below geometric 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 before sunrise in Jerusalem in the equinox which calculates to 10.2° below geometric zenith

See Also:
ZENITH_10_POINT_2

getSofZmanShmaMGA19Point8Degrees

public Date getSofZmanShmaMGA19Point8Degrees()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 19.8° before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A 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() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis19Point8Degrees(), getAlos19Point8Degrees()

getSofZmanShmaMGA16Point1Degrees

public Date getSofZmanShmaMGA16Point1Degrees()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 16.1° before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A 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() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis16Point1Degrees(), getAlos16Point1Degrees()

getSofZmanShmaMGA72Minutes

public Date getSofZmanShmaMGA72Minutes()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 72 minutes before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 72 minutes before sunrise to nightfall of 72 minutes after sunset. This returns the time of 3 * getShaahZmanis72Minutes() after dawn. This class returns an identical time to ZmanimCalendar.getSofZmanShmaMGA() and is repeated here for clarity.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis72Minutes(), ZmanimCalendar.getAlos72(), ZmanimCalendar.getSofZmanShmaMGA()

getSofZmanShmaMGA72MinutesZmanis

public Date getSofZmanShmaMGA72MinutesZmanis()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 90 minutes zmaniyos before sunrise to nightfall of 90 minutes zmaniyos after sunset. This returns the time of 3 * getShaahZmanis90MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis72MinutesZmanis(), getAlos72Zmanis()

getSofZmanShmaMGA90Minutes

public Date getSofZmanShmaMGA90Minutes()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 90 minutes before sunrise to nightfall of 90 minutes after sunset. This returns the time of 3 * getShaahZmanis90Minutes() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis90Minutes(), getAlos90()

getSofZmanShmaMGA90MinutesZmanis

public Date getSofZmanShmaMGA90MinutesZmanis()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 90 minutes zmaniyos before sunrise to nightfall of 90 minutes zmaniyos after sunset. This returns the time of 3 * getShaahZmanis90MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis90MinutesZmanis(), getAlos90Zmanis()

getSofZmanShmaMGA96Minutes

public Date getSofZmanShmaMGA96Minutes()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 96 minutes before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 96 minutes before sunrise to nightfall of 96 minutes after sunset. This returns the time of 3 * getShaahZmanis96Minutes() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis96Minutes(), getAlos96()

getSofZmanShmaMGA96MinutesZmanis

public Date getSofZmanShmaMGA96MinutesZmanis()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 96 minutes zmaniyos before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 96 minutes zmaniyos before sunrise to nightfall of 96 minutes zmaniyos after sunset. This returns the time of 3 * getShaahZmanis96MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis96MinutesZmanis(), getAlos96Zmanis()

getSofZmanShma3HoursBeforeChatzos

public Date getSofZmanShma3HoursBeforeChatzos()
This method returns the latest zman krias shema (time to say Shema in the morning) calculated as 3 hours before ZmanimCalendar.getChatzos(). This is the opinion of the Shach in the Nekudas Hakesef (Yora Deah 184), Shevus Yaakov, Chasan Sofer and others.This returns the time of 3 hours before ZmanimCalendar.getChatzos().

Returns:
the Date of the latest zman shema.
See Also:
ZmanimCalendar.getChatzos(), getSofZmanTfila2HoursBeforeChatzos()

getSofZmanShmaMGA120Minutes

public Date getSofZmanShmaMGA120Minutes()
This method returns the latest zman krias shema (time to say Shema in the morning) in the opinion of the MG"A based on alos being 120 minutes before sunrise. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 120 minutes before sunrise to nightfall of 120 minutes after sunset. This returns the time of 3 *getShaahZmanis120Minutes() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis120Minutes(), getAlos120()

getSofZmanShmaAlos16Point1ToSunset

public Date getSofZmanShmaAlos16Point1ToSunset()
This method returns the latest zman krias shema (time to say Shema in the morning) based on the opinion that the day starts at alos 16.1° and ends at sunset. 3 shaos zmaniyos are calculated based on this day and added to alosto reach this time. This time is 3 shaos zmaniyos (solar hours) after dawn based on the opinion that the day is calculated from a alos 16.1° to sunset.
Note: Based on this calculation chatzos will not be at midday.

Returns:
the Date of the latest zman shema based on this day.
See Also:
getAlos16Point1Degrees(), AstronomicalCalendar.getSunset()

getSofZmanShmaAlos16Point1ToTzaisGeonim7Point083Degrees

public Date getSofZmanShmaAlos16Point1ToTzaisGeonim7Point083Degrees()
This method returns the latest zman krias shema (time to say Shema in the morning) based on the opinion that the day starts at alos 16.1° and ends at tzais 7.083°. 3 shaos zmaniyos are calculated based on this day and added to alos to reach this time. This time is 3 shaos zmaniyos (temporal hours) after alos 16.1° based on the opinion that the day is calculated from a alos 16.1° to tzais 7.083°.
Note: Based on this calculation chatzos will not be at midday.

Returns:
the Date of the latest zman shema based on this day.
See Also:
getAlos16Point1Degrees(), getTzaisGeonim7Point083Degrees()

getSofZmanShmaKolEliyahu

public Date getSofZmanShmaKolEliyahu()

getSofZmanTfilaMGA19Point8Degrees

public Date getSofZmanTfilaMGA19Point8Degrees()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 19.8° before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A 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() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis19Point8Degrees(), getAlos19Point8Degrees()

getSofZmanTfilaMGA16Point1Degrees

public Date getSofZmanTfilaMGA16Point1Degrees()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 16.1° before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A 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() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis16Point1Degrees(), getAlos16Point1Degrees()

getSofZmanTfilaMGA72Minutes

public Date getSofZmanTfilaMGA72Minutes()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 72 minutes before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 72 minutes before sunrise to nightfall of 72 minutes after sunset. This returns the time of 4 * getShaahZmanis72Minutes() after dawn. This class returns an identical time to ZmanimCalendar.getSofZmanTfilaMGA() and is repeated here for clarity.

Returns:
the Date of the latest zman tfila.
See Also:
getShaahZmanis72Minutes(), ZmanimCalendar.getAlos72(), ZmanimCalendar.getSofZmanShmaMGA()

getSofZmanTfilaMGA72MinutesZmanis

public Date getSofZmanTfilaMGA72MinutesZmanis()
This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 72 minutes zmaniyos before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 72 minutes zmaniyos before sunrise to nightfall of 72 minutes zmaniyos after sunset. This returns the time of 4 * getShaahZmanis72MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis72MinutesZmanis(), getAlos72Zmanis()

getSofZmanTfilaMGA90Minutes

public Date getSofZmanTfilaMGA90Minutes()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 90 minutes before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 90 minutes before sunrise to nightfall of 90 minutes after sunset. This returns the time of 4 * getShaahZmanis90Minutes() after dawn.

Returns:
the Date of the latest zman tfila.
See Also:
getShaahZmanis90Minutes(), getAlos90()

getSofZmanTfilaMGA90MinutesZmanis

public Date getSofZmanTfilaMGA90MinutesZmanis()
This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 90 minutes zmaniyos before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 90 minutes zmaniyos before sunrise to nightfall of 90 minutes zmaniyos after sunset. This returns the time of 4 * getShaahZmanis90MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis90MinutesZmanis(), getAlos90Zmanis()

getSofZmanTfilaMGA96Minutes

public Date getSofZmanTfilaMGA96Minutes()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 96 minutes before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 96 minutes before sunrise to nightfall of 96 minutes after sunset. This returns the time of 4 * getShaahZmanis96Minutes() after dawn.

Returns:
the Date of the latest zman tfila.
See Also:
getShaahZmanis96Minutes(), getAlos96()

getSofZmanTfilaMGA96MinutesZmanis

public Date getSofZmanTfilaMGA96MinutesZmanis()
This method returns the latest zman tfila (time to the morning prayers) in the opinion of the MG"A based on alos being 96 minutes zmaniyos before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 96 minutes zmaniyos before sunrise to nightfall of 96 minutes zmaniyos after sunset. This returns the time of 4 * getShaahZmanis96MinutesZmanis() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis90MinutesZmanis(), getAlos90Zmanis()

getSofZmanTfilaMGA120Minutes

public Date getSofZmanTfilaMGA120Minutes()
This method returns the latest zman tfila (time to say the morning prayers) in the opinion of the MG"A based on alos being 120 minutes before sunrise. This time is 4 shaos zmaniyos (solar hours) after dawn based on the opinion of the MG"A that the day is calculated from a dawn of 120 minutes before sunrise to nightfall of 120 minutes after sunset. This returns the time of 4 *getShaahZmanis120Minutes() after dawn.

Returns:
the Date of the latest zman shema.
See Also:
getShaahZmanis120Minutes(), getAlos120()

getSofZmanTfila2HoursBeforeChatzos

public Date getSofZmanTfila2HoursBeforeChatzos()
This method returns the latest zman tfila (time to say the morning prayers) calculated as 2 hours befor ZmanimCalendar.getChatzos(). This is based on the opinions that calculate sof zman krias shema as getSofZmanShma3HoursBeforeChatzos(). This returns the time of 2 hours before ZmanimCalendar.getChatzos().

Returns:
the Date of the latest zman shema.
See Also:
ZmanimCalendar.getChatzos(), getSofZmanShma3HoursBeforeChatzos()

getMinchaGedola30Minutes

public Date getMinchaGedola30Minutes()
This method returns mincha gedola calculated as 30 minutes after chatzos and not 1/2 of a shaah zmanis after chatzos as calculated by ZmanimCalendar.getMinchaGedola(). Some use this time to delay the start of mincha in the winter when 1/2 of a shaah zmanis is less than 30 minutes. See getMinchaGedolaGreaterThan30()for a conveniance method that returns the later of the 2 calculations. One should not use this time to start mincha before the standard mincha gedola. See Shulchan Aruch Orach Chayim Siman Raish Lamed Gimel seif alef and the Shaar Hatziyon seif katan ches.

Returns:
the Date of 30 mintes after chatzos.
See Also:
ZmanimCalendar.getMinchaGedola(), getMinchaGedolaGreaterThan30()

getMinchaGedola72Minutes

public Date getMinchaGedola72Minutes()

getMinchaGedola16Point1Degrees

public Date getMinchaGedola16Point1Degrees()
Returns:
the Date of the time of mincha gedola.
See Also:
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 perfered earliest time to pray mincha in the opinion of the Ramba"m and others. For more information on this see the documentation on {@link #getMinchaGedola() mincha gedola}. This is calculated as 9.5 {@link #getTemporalHour() solar hours} after alos. The calculation used is 9.5 * {@link #getShaahZmanis16Point1Degrees()} after {@link #getAlos16Point1Degrees() alos}., getShaahZmanis16Point1Degrees(), ZmanimCalendar.getMinchaGedola(), ZmanimCalendar.getMinchaKetana()

getMinchaGedolaGreaterThan30

public Date getMinchaGedolaGreaterThan30()
This is a conveniance methd that returns the later of ZmanimCalendar.getMinchaGedola()and getMinchaGedola30Minutes(). In the winter when a shaah zmanis is less than 30 minutes getMinchaGedola30Minutes()will be returned, otherwise ZmanimCalendar.getMinchaGedola() will be returned.

Returns:
the Date of the later of ZmanimCalendar.getMinchaGedola()and getMinchaGedola30Minutes()

getMinchaKetana16Point1Degrees

public Date 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 perfered earliest time to pray mincha in the opinion of the Ramba"m and others. For more information on this see the documentation on mincha gedola. This is calculated as 9.5 solar hours after alos. The calculation used is 9.5 * getShaahZmanis16Point1Degrees() after alos.

Returns:
the Date of the time of mincha gedola.
See Also:
getShaahZmanis16Point1Degrees(), ZmanimCalendar.getMinchaGedola(), ZmanimCalendar.getMinchaKetana()

getMinchaKetana72Minutes

public Date 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 perfered earliest time to pray mincha in the opinion of the Ramba"m and others. For more information on this see the documentation on mincha gedola. This is calculated as 9.5 getShaahZmanis72Minutes() after alos. The calculation used is 9.5 * getShaahZmanis72Minutes() after alos.

Returns:
the Date of the time of mincha gedola.
See Also:
getShaahZmanis16Point1Degrees(), ZmanimCalendar.getMinchaGedola(), ZmanimCalendar.getMinchaKetana()

getPlagHamincha60Minutes

public Date getPlagHamincha60Minutes()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 *getShaahZmanis72Minutes() after ZmanimCalendar.getAlos72().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha72Minutes

public Date getPlagHamincha72Minutes()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 *getShaahZmanis72Minutes() after ZmanimCalendar.getAlos72().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha90Minutes

public Date getPlagHamincha90Minutes()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 *getShaahZmanis90Minutes() after getAlos90().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha96Minutes

public Date getPlagHamincha96Minutes()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 *getShaahZmanis96Minutes() after getAlos96().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha96MinutesZmanis

public Date getPlagHamincha96MinutesZmanis()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 * getShaahZmanis96MinutesZmanis() after dawn.

Returns:
the Date of the time of plag hamincha.

getPlagHamincha90MinutesZmanis

public Date getPlagHamincha90MinutesZmanis()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 * getShaahZmanis90MinutesZmanis() after dawn.

Returns:
the Date of the time of plag hamincha.

getPlagHamincha72MinutesZmanis

public Date getPlagHamincha72MinutesZmanis()
This method returns the time of plag hamincha. This is calculated as 10.75 hours after dawn. The formula used is:
10.75 * getShaahZmanis72MinutesZmanis() after dawn.

Returns:
the Date of the time of plag hamincha.

getPlagHamincha16Point1Degrees

public Date getPlagHamincha16Point1Degrees()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at tzais 16.1°. This is calculated as 10.75 hours zmaniyos after dawn. The formula is
10.75 * getShaahZmanis16Point1Degrees() after getAlos16Point1Degrees().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha19Point8Degrees

public Date getPlagHamincha19Point8Degrees()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 19.8° and ends at tzais 19.8°. This is calculated as 10.75 hours zmaniyos after dawn. The formula is
10.75 * getShaahZmanis19Point8Degrees() after getAlos19Point8Degrees().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha26Degrees

public Date getPlagHamincha26Degrees()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 26° and ends at tzais 26°. This is calculated as 10.75 hours zmaniyos after dawn. The formula is
10.75 * getShaahZmanis26Degrees() after getAlos26Degrees().

Returns:
the Date of the time of plag hamincha.

getPlagHamincha18Degrees

public Date getPlagHamincha18Degrees()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 18° and ends at tzais 18°. This is calculated as 10.75 hours zmaniyos after dawn. The formula is
10.75 * getShaahZmanis18Degrees() after getAlos18Degrees().

Returns:
the Date of the time of plag hamincha.

getPlagAlosToSunset

public Date getPlagAlosToSunset()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at sunset. 10.75 shaos zmaniyos are calculated based on this day and added to alos to reach this time. This time is 10.75 shaos zmaniyos (temporal hours) after dawn based on the opinion that the day is calculated from a dawn of 16.1 degrees before sunrise to sunset. This returns the time of 10.75 * the calculated shaah zmanis after dawn.

Returns:
the Date of the plag.
See Also:
getAlos16Point1Degrees(), AstronomicalCalendar.getSunset()

getPlagAlos16Point1ToTzaisGeonim7Point083Degrees

public Date getPlagAlos16Point1ToTzaisGeonim7Point083Degrees()
This method returns the time of plag hamincha based on the opinion that the day starts at alos 16.1° and ends at tzais. 10.75 shaos zmaniyos are calculated based on this day and added to alos to reach this time. This time is 10.75 shaos zmaniyos (temporal hours) after dawn based on the opinion that the day is calculated from a dawn of 16.1 degrees before sunrise to tzais. This returns the time of 10.75 * the calculated shaah zmanis after dawn.

Returns:
the Date of the plag.
See Also:
getAlos16Point1Degrees(), getTzaisGeonim7Point083Degrees()

getBainHasmashosRT13Degrees

public Date getBainHasmashosRT13Degrees()

getBainHasmashosRT58Point5Minutes

public Date getBainHasmashosRT58Point5Minutes()

getBainHasmashosRT13Point5MinutesBefore7Point083Degrees

public Date getBainHasmashosRT13Point5MinutesBefore7Point083Degrees()

getBainHasmashosRT2Stars

public Date getBainHasmashosRT2Stars()

getTzaisGeonim5Point95Degrees

public Date getTzaisGeonim5Point95Degrees()
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 5.95° below the western horizon.

Returns:
the Date representing the time when the sun is 5.95° below sea level.
See Also:
ZENITH_5_POINT_95

getTzaisGeonim7Point083Degrees

public Date getTzaisGeonim7Point083Degrees()
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 7.083° below the western horizon.

Returns:
the Date representing the time when the sun is 7.083° below sea level.
See Also:
ZENITH_7_POINT_083

getTzaisGeonim8Point5Degrees

public Date getTzaisGeonim8Point5Degrees()
This method returns the tzais (nightfall) based on the opinion of the Geonim calculated at the sun's position at 8.5° below the western horizon.

Returns:
the Date representing the time when the sun is 8.5° below sea level.
See Also:
ZmanimCalendar.ZENITH_8_POINT_5

getTzais60

public Date getTzais60()
This method returns the tzais (nightfall) based on the opinion of the Chavas Yair and Divray Malkiel that the time to walk the distance of a Mil is 15 minutes for a total of 60 minutes for 4 mil after sea level sunset.

Returns:
the Date representing 60 minutes after sea level sunset.

getTzais72Zmanis

public Date getTzais72Zmanis()
Method to return tzais (dusk) calculated using 72 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.

Returns:
the Date representing the time.

getTzais90Zmanis

public Date getTzais90Zmanis()
Method to return tzais (dusk) calculated using 90 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.

Returns:
the Date representing the time.

getTzais96Zmanis

public Date getTzais96Zmanis()
Method to return tzais (dusk) calculated using 96 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.

Returns:
the Date representing the time.

getTzais90

public Date getTzais90()
Method to return tzais (dusk) calculated as 90 minutes after sea level sunset. This method returns tzais (nightfall) based on the opinion of the Magen Avraham that the time to walk the distance of a Mil in the Ramba"m's opinion is 18 minutes for a total of 90 minutes based on the opinion of Ula who calculated tzais as 5 Mil after sea level shkiah (sunset). A similar calculation getTzais19Point8Degrees()uses solar position calculations based on this time.

Returns:
the Date representing the time.
See Also:
getTzais19Point8Degrees()

getTzais120

public Date getTzais120()
This method returns tzais (nightfall) based on the opinion of the Magen Avraham that the time to walk the distance of a Mil in the Ramba"ms 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 after sea level shkiah (sunset). A similar calculation getTzais26Degrees() uses temporal calculations based on this time.

Returns:
the Date representing the time.
See Also:
getTzais26Degrees()

getTzais120Zmanis

public Date getTzais120Zmanis()
Method to return tzais (dusk) calculated using 120 minutes zmaniyos (GR"A and the Baal Hatanya) after sea level sunset.

Returns:
the Date representing the time.

getTzais16Point1Degrees

public Date getTzais16Point1Degrees()
For information on how this is calculated see the comments on getAlos16Point1Degrees()

Returns:
the Date representing the time.
See Also:
ZmanimCalendar.getTzais72(), for more information on this calculation.

getTzais26Degrees

public Date getTzais26Degrees()
For information on how this is calculated see the comments on getAlos26Degrees()

Returns:
the Date representing the time.
See Also:
getTzais120(), getAlos26Degrees()

getTzais18Degrees

public Date getTzais18Degrees()

getTzais19Point8Degrees

public Date getTzais19Point8Degrees()
For information on how this is calculated see the comments on getAlos19Point8Degrees()

Returns:
the Date representing the time.
See Also:
getTzais90(), getAlos19Point8Degrees()

getTzais96

public Date getTzais96()
A method to return tzais (dusk) calculated as 96 minutes after sea level sunset. For information on how this is calculated see the comments on getAlos96().

Returns:
Date
See Also:
getAlos96()

getFixedLocalChatzos

public Date getFixedLocalChatzos()
A method that returns the local time for fixed chatzos. This time is noon and midnight adjusted to account for the distance from the next longitude that is a multiple of 15. 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 in 12:00 noon. Lakewood, NJ whose longitude is -74.2094 is 0.7906 away from the next multiple of 15 at -75°. This is multiplied by 4 to yeild 3 minutes and 10 seconds for a chatzos of 11:56:50.

Returns:
the Date representing the local chatzos
See Also:
getLocalTimeOffset()

getLocalTimeOffset

public long getLocalTimeOffset()
A method that will return the geographic timezone offset of the users local. The globe is split into 360°, with 15° per hour of the day. For a local that is at a longitude that is evenly divisible by 15 (longitude % 15 == 0), at noon the sun should be directly overhead (not exactly due to the equation of time), so a user who is 1° west of this will have noon at 4 minutes after clock noon. This method is used by calculatons that used fixed noon for chatzos, but need to compensate for the longetude.

Returns:
the offset in milliseconds

getSofZmanShmaFixedLocal

public Date getSofZmanShmaFixedLocal()
A method that returns the latest zman krias shema (time to say Shema in the morning) calculated as 3 hours before getFixedLocalChatzos().

Returns:
the Date of the latest zman shema.
See Also:
getFixedLocalChatzos(), getSofZmanTfilaFixedLocal()

getSofZmanTfilaFixedLocal

public Date getSofZmanTfilaFixedLocal()
This method returns the latest zman tfila (time to say the morning prayers) calculated as 2 hours before getFixedLocalChatzos().

Returns:
the Date of the latest zman tfila.
See Also:
getFixedLocalChatzos(), getSofZmanShmaFixedLocal()

equals

public boolean equals(Object object)
Overrides:
equals in class ZmanimCalendar
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class ZmanimCalendar
See Also:
Object.hashCode()

main

public static void main(String[] args)

KosherJava Zmanim Homepage
Includes a dynamic Zmanim calendar generator

Copyright © 2004 - 2007 Eliyahu Hershfeld. All Rights Reserved.