How to build calendar using ical4j API itself?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satya uppe
    New Member
    • Oct 2011
    • 1

    How to build calendar using ical4j API itself?

    Hi vidi,

    In your code you have build the calendar content using string buffer.

    I want to build calendar using ical4j API itself.

    For example


    Calendar calendar = new Calendar();
    calendar.getPro perties().add(n ew ProdId("-//Ben Fortuna//iCal4j 1.0//EN"));
    calendar.getPro perties().add(V ersion.VERSION_ 2_0);
    calendar.getPro perties().add(C alScale.GREGORI AN);


    To buid like this we need to understand how to use ical4j API effectively.

    Can any one help me using ical4j to build a calendar.

    Hope you guys understand my query.

    Please do get back to me for clarifications
Working...