Bug in MonthlyCalendar #1317
SummerTimeForAll
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I believe I have found a bug in the MonthlyCalendar class,
in the method getNextIncludedTime(long timeStamp).
The while loop is based on the test isDayExcluded(day) (line 216).
The problem is that this method does not verify whether the attached baseCalendar is in sync with the day found.
Instead, the isTimeIncluded(long timestamp) method should be used.
This issue also appears in the WeeklyCalendar and possibly in other classes.
Example :
Result :
11/01/2025 00:00:00
Beta Was this translation helpful? Give feedback.
All reactions