Skip to content

Commit 9d01db2

Browse files
authored
Use elevation adjusted sunrise and sunset for half-day zmanim
Thanks Shai for catching this
1 parent 63403fd commit 9d01db2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/kosherjava/zmanim/ComplexZmanimCalendar.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4433,7 +4433,7 @@ public Date getSofZmanShmaMGA72MinutesToFixedLocalChatzos() {
44334433
* @see #getHalfDayBasedZman(Date, Date, double)
44344434
*/
44354435
public Date getSofZmanShmaGRASunriseToFixedLocalChatzos() {
4436-
return getHalfDayBasedZman(getSunrise(), getFixedLocalChatzos(), 3);
4436+
return getHalfDayBasedZman(getElevationAdjustedSunrise(), getFixedLocalChatzos(), 3);
44374437
}
44384438

44394439
/**
@@ -4453,7 +4453,7 @@ public Date getSofZmanShmaGRASunriseToFixedLocalChatzos() {
44534453
* @see #getHalfDayBasedZman(Date, Date, double)
44544454
*/
44554455
public Date getSofZmanTfilaGRASunriseToFixedLocalChatzos() {
4456-
return getHalfDayBasedZman(getSunrise(), getFixedLocalChatzos(), 4);
4456+
return getHalfDayBasedZman(getElevationAdjustedSunrise(), getFixedLocalChatzos(), 4);
44574457
}
44584458

44594459
/**
@@ -4493,7 +4493,7 @@ public Date getMinchaGedolaGRAFixedLocalChatzos30Minutes() {
44934493
* @see ZmanimCalendar#getHalfDayBasedZman(Date, Date, double)
44944494
*/
44954495
public Date getMinchaKetanaGRAFixedLocalChatzosToSunset() {
4496-
return getHalfDayBasedZman(getFixedLocalChatzos(), getSunset(), 3.5);
4496+
return getHalfDayBasedZman(getFixedLocalChatzos(), getElevationAdjustedSunset(), 3.5);
44974497
}
44984498

44994499
/**
@@ -4514,7 +4514,7 @@ public Date getMinchaKetanaGRAFixedLocalChatzosToSunset() {
45144514
* @see ZmanimCalendar#getHalfDayBasedZman(Date, Date, double)
45154515
*/
45164516
public Date getPlagHaminchaGRAFixedLocalChatzosToSunset() {
4517-
return getHalfDayBasedZman(getFixedLocalChatzos(), getSunset(), 4.75);
4517+
return getHalfDayBasedZman(getFixedLocalChatzos(), getElevationAdjustedSunset(), 4.75);
45184518
}
45194519

45204520
/**

0 commit comments

Comments
 (0)