How To Get A List Of Appearance Dates From iCalendar RRULE

I have an iCalendar file with RRULE for entries. How to get a list of dates on which the event will occur in accordance with the specified start date, and RRULE in the iCal file.

In Java, I want to write a method that should take a start date and RRULE and return me a list of date of occurrence. Please help with a simple solution or directions.

+6
source share
2 answers

There is a Java library specifically designed to parse RRULE called google-rfc-2445 .

The following link contains an example using a library in which you give the start date along with RRULE and print the dates.

http://google-rfc-2445.googlecode.com/svn/trunk/README.html

+3
source

I cannot read README because of 404 - The requested URL / svn / trunk / README.html was not found on this server . If you have an example to show, share it. I found another lib-recur solution . lib-recur is shared via maven repository .

+1
source

Source: https://habr.com/ru/post/892825/


All Articles