Greetings,

    I hope I got the right forum, there isn't exactly a forum for icalendar but this 
is the closest match I believe....

    I'm currently trying to implement recurrent events based on rfc2445 and
found the classes you wrote quite helpful (e.g. VRecur, VRecurIterator).
Unfortunately I can't get it to work. I keep getting an exception doing the
following....

    public class ICalTest
    {
        public static void main( String args[] ) throws Exception
        {
            ...
            VRecur vrecur = Recur.fromICalendar( "FREQ=WEEKLY;INTERVAL=2;WKST=SU" );
            ...
        }
    }

    I got the following exception:

    org.apache.icalendar.util.ICalendarException: Problem with the 
ICalendarErrorResources - Contact jetspeed mailing ([EMAIL PROTECTED]) 
and give them this message. 'An error message is missingfrom the iCalendar error 
resources'. Specify the following information if possible: The stack trace of this 
exception and the input that caused the exception.
     at org.apache.icalendar.util.ICalendarErrorResources.getICalMsg(ICalendarErrorR
esources.java:1821)
     at org.apache.icalendar.types.VRecur.processIndividualRecurToken(VRecur.java:21
73)
     at org.apache.icalendar.types.VRecur.processRecurrenceTokens(VRecur.java:1813)
     at org.apache.icalendar.types.VRecur.fromICalendar(VRecur.java:1659)
     at ICalTest.main(ICalTest.java:9)

    Anyone care to explain what is wrong with the usage?? 

    Thanks in advance for your time....

    P.S: If you can recommend any other open-source iCalendar tools/parser (in Java), 
I'll be happy to hear about it.

-
Eugene Ng

Reply via email to