diff --git a/src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java b/src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java index c346837a..1adca8f2 100644 --- a/src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java +++ b/src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java @@ -1,6 +1,6 @@ /* * Zmanim Java API - * Copyright (C) 2004-2023 Eliyahu Hershfeld + * Copyright (C) 2004-2024 Eliyahu Hershfeld * * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General * Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) @@ -106,7 +106,7 @@ *

Documentation from the {@link ZmanimCalendar} parent class

* {@inheritDoc} * - * @author © Eliyahu Hershfeld 2004 - 2023 + * @author © Eliyahu Hershfeld 2004 - 2024 */ public class ComplexZmanimCalendar extends ZmanimCalendar { @@ -1877,7 +1877,7 @@ public Date getMinchaGedola16Point1Degrees() { * @see #getMinchaGedolaGreaterThan30() */ public Date getMinchaGedolaAhavatShalom() { - if (getMinchaGedola30Minutes() == null || getMinchaGedola() == null) { + if (getChatzos() == null || getMinchaGedola30Minutes() == null || getShaahZmanisAlos16Point1ToTzais3Point7() == Long.MIN_VALUE) { return null; } else { return getMinchaGedola30Minutes().compareTo(getTimeOffset(getChatzos(), getShaahZmanisAlos16Point1ToTzais3Point7() / 2)) > 0 ? @@ -4454,7 +4454,7 @@ public Date getTzais50() { * 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 * {@link #getShaahZmanis16Point1Degrees()} after {@link #getAlos16Point1Degrees() alos * 16.1°}. See the Mechaber and Mishna Berurah - * 232 for details. + * 232 and 249:2. * * @see #getShaahZmanisGra() * @see #getSamuchLeMinchaKetana16Point1Degrees() @@ -4474,7 +4474,8 @@ public Date getSamuchLeMinchaKetanaGRA() { * the day, calculated using a day starting and ending 16.1° below the horizon. This is the time that eating or other * activity can't begin prior to praying mincha. The calculation used is 9 * {@link * #getShaahZmanis16Point1Degrees()} after {@link #getAlos16Point1Degrees() alos 16.1°}. See the Mechaber and Mishna Berurah 232. + * "https://hebrewbooks.org/pdfpager.aspx?req=60387&st=&pgnum=294">Mechaber and Mishna Berurah 232 and 249:2. * * @see #getShaahZmanis16Point1Degrees() * @return the Date of the time of samuch lemincha ketana. If the calculation can't be computed such @@ -4492,7 +4493,8 @@ public Date getSamuchLeMinchaKetana16Point1Degrees() { * calculated using a day starting 72 minutes before sunrise and ending 72 minutes after sunset. This is the time that eating * or other activity can't begin prior to praying mincha. The calculation used is 9 * {@link * #getShaahZmanis16Point1Degrees()} after {@link #getAlos16Point1Degrees() alos 16.1°}. See the Mechaber and Mishna Berurah 232. + * "https://hebrewbooks.org/pdfpager.aspx?req=60387&st=&pgnum=294">Mechaber and Mishna Berurah 232 and 249:2. * * @see #getShaahZmanis16Point1Degrees() * @return the Date of the time of samuch lemincha ketana. If the calculation can't be computed such