Get N events after advanceTo

91 views
Skip to first unread message

SS

unread,
Apr 21, 2014, 2:15:05 PM4/21/14
to google-...@googlegroups.com
Hello,

How do I get the next event or the next N events after advanceTo?

My example:

String iCal = "RRULE:FREQ=YEARLY;COUNT=1"
LocalDateIterator iterator = LocalDateIteratorFactory.createLocalDateIterator(iCal, new LocalDate(2014, 1, 1), true);
iterator.advanceTo(LocalDate.now());

This doesn't work because the the count 1 gets consumed before the advanceTo date. Is there a way to get the N events after advanceTo?




Thanks
Reply all
Reply to author
Forward
0 new messages