Skip to content

Commit

Permalink
add proper new parameter to getDateFromTime in getLocalMeanTime
Browse files Browse the repository at this point in the history
  • Loading branch information
KosherJava authored Apr 26, 2024
1 parent a76a3b6 commit da7e888
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit da7e888

Please sign in to comment.