I'm trying to use biweekly to determine if the current date/time lies within an event on an ical calendar. I'm having trouble pulling this off, how should I be doing it?
Thanks
You seem to have CSS turned off. Please don't fill out this field.
Anonymous
Hello,
I assume your event has an RRULE. You can use the getDateIterator() method to iterator over each of the dates in an event:
:::java ICalendar ical = ... VEvent event = ical.getEvents().get(0); RecurrenceRule rrule = event.getRecurrenceRule(); DateIterator it = rrule.getDateIterator(event.getDateStart().getValue());
View and moderate all "Help and Support" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I'm trying to use biweekly to determine if the current date/time lies within an event on an ical calendar. I'm having trouble pulling this off, how should I be doing it?
Thanks
Hello,
I assume your event has an RRULE. You can use the getDateIterator() method to iterator over each of the dates in an event: