Skip to content

Commit 7ed669d

Browse files
committed
remove noon logic
1 parent c9dc1be commit 7ed669d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,6 @@ protected Date getDateFromTime(double time, SolarEvent solarEvent) {
652652
cal.add(Calendar.DAY_OF_MONTH, 1);
653653
} else if (solarEvent == SolarEvent.MIDNIGHT && localTimeHours + hours < 12) {
654654
cal.add(Calendar.DAY_OF_MONTH, 1);
655-
} else if (solarEvent == SolarEvent.NOON && localTimeHours + hours < 0) {
656-
cal.add(Calendar.DAY_OF_MONTH, 1);
657655
} else if (solarEvent == SolarEvent.NOON && localTimeHours + hours > 24) {
658656
cal.add(Calendar.DAY_OF_MONTH, -1);
659657
}

0 commit comments

Comments
 (0)