Skip to content

Commit da7e888

Browse files
authored
add proper new parameter to getDateFromTime in getLocalMeanTime
1 parent a76a3b6 commit da7e888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ public Date getLocalMeanTime(double hours) {
700700
throw new IllegalArgumentException("Hours must between 0 and 23.9999...");
701701
}
702702
return getTimeOffset(getDateFromTime(hours - getGeoLocation().getTimeZone().getRawOffset()
703-
/ (double) HOUR_MILLIS, true), -getGeoLocation().getLocalMeanTimeOffset());
703+
/ (double) HOUR_MILLIS, SolarEvent.SUNRISE), -getGeoLocation().getLocalMeanTimeOffset());
704704
}
705705

706706
/**

0 commit comments

Comments
 (0)