I'm currently using ical4j-1.0.3
I got an Event recurring for a total of 5 Events with a RRule. I want to have one VEvent for each occurrence. VEvent.calculateRecurrenceSet() in combination with VEvent.getOccurrence() sounded like the way to go. While calculateRecurrenceSet() returns a list 5 periods correctly, getOccurrence() will only return a VEvent for the first period, and null for the rest of them.
Another Issue is that, when one of the occurrences is edited (e.g. declined by another user) another VEvent entry is generated in the .ics file, which then pops up as another event in addition to the one I'm supposed to get from getOccurrence().
Find a JUnit test case and a sample .ics attached via Pastebin, since pasting directly into the post seemes to mark my message as spam.
Am I missing something, is my approach completely wrong or is this a bug?
Thank you for any feedback.
What i am trying to achieve with this is having a List of POJOs containing start date, end date and summary, so i need a recurring VEvent split up into multiple objects. Does anybody have an idea how to accomplish this? Is there another way?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.