Skip to content

Feat: Improved repeat events and custom progress in the events #146

Merged
a2ke5e1 merged 8 commits into
mainfrom
feat/improved-repeat-events
Apr 17, 2026
Merged

Feat: Improved repeat events and custom progress in the events #146
a2ke5e1 merged 8 commits into
mainfrom
feat/improved-repeat-events

Conversation

@a2ke5e1
Copy link
Copy Markdown
Owner

@a2ke5e1 a2ke5e1 commented Apr 17, 2026

Added Custom progress for events (#86).

a2ke5e1 added 8 commits April 17, 2026 15:52
- Added max limit for iteration to find next event date
Replaces the `Calendar`-based logic for calculating event occurrences with `java.time` (ZonedDateTime, Duration, and ChronoUnit). This improves accuracy, handles daylight saving transitions better, and optimizes performance for "never-ending" recurrence types by calculating offsets rather than iterating from the start date.

- Replaced `Calendar` with `ZonedDateTime` and `ZoneId`.
- Implemented optimized jumping for DAILY, WEEKLY, MONTHLY, and YEARLY recurrences when `RecurrenceEndType.NEVER` is used.
- Refactored weekly recurrence logic to correctly handle specific day-of-week targets.
- Fixed potential issues with month-end date overflows in monthly recurrences.
Display an AdCard in the event list when the number of events is greater than one.
@a2ke5e1 a2ke5e1 merged commit d038709 into main Apr 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant