Single test for all three "Recurrence Component Properties"?

  • Matt

    Matt - 2013-07-19

    Is there a way to see if "today is an event day" that utilizes EXDATE, RDATE and RRULE?

    I know I can do something like this for the RRULE...

    RRule rRule = new RRule("FREQ=DAILY;INTERVAL=14");
    Recur recur = rRule.getRecur();
    nextDate = recur.getNextDate(
            new net.fortuna.ical4j.model.Date(startDate),
            new net.fortuna.ical4j.model.Date(currentDateET));
    //If today == nextDate then "today is an event day".

    Is there an easy way to add EXDATE and RDATE functionality to this?

    Background: I'm looking to add a scheduling component to my new system and iCalendar seems like the best option. I'm looking to add the most robust scheduling functionality w/ as little custom code as possible.

    Any and all thoughts welcome.

    • Erich Bremer

      Erich Bremer - 2013-07-19

      Please send all e-mail for me to


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks