From da7e888299c27622e1786af7d517f620060a38e0 Mon Sep 17 00:00:00 2001 From: KosherJava Date: Fri, 26 Apr 2024 10:31:46 -0400 Subject: [PATCH] add proper new parameter to getDateFromTime in getLocalMeanTime --- src/main/java/com/kosherjava/zmanim/AstronomicalCalendar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/kosherjava/zmanim/AstronomicalCalendar.java b/src/main/java/com/kosherjava/zmanim/AstronomicalCalendar.java index 2036e91c..38e2a442 100644 --- a/src/main/java/com/kosherjava/zmanim/AstronomicalCalendar.java +++ b/src/main/java/com/kosherjava/zmanim/AstronomicalCalendar.java @@ -700,7 +700,7 @@ public Date getLocalMeanTime(double hours) { throw new IllegalArgumentException("Hours must between 0 and 23.9999..."); } return getTimeOffset(getDateFromTime(hours - getGeoLocation().getTimeZone().getRawOffset() - / (double) HOUR_MILLIS, true), -getGeoLocation().getLocalMeanTimeOffset()); + / (double) HOUR_MILLIS, SolarEvent.SUNRISE), -getGeoLocation().getLocalMeanTimeOffset()); } /**