Sowjanya Raju - 2016-09-01

Hi All,
As part of my application i have a created an ics file and imported to Lotus notes. Now i want to remove the entry so that when import that file to Lotus notes, it will delete my previous entry.

I have created sample ics file as below.

Calendar calendar = new Calendar();
calendar.getProperties().add(new ProdId("-//Ben Fortuna//iCal4j 1.0//EN"));
calendar.getProperties().add(Version.VERSION_2_0);
calendar.getProperties().add(CalScale.GREGORIAN);

java.util.Calendar cal = java.util.Calendar.getInstance();
cal.set(java.util.Calendar.MONTH, java.util.Calendar.DECEMBER);
cal.set(java.util.Calendar.DAY_OF_MONTH, 25);

VEvent christmas = new VEvent(new Date(cal.getTime()), "Christmas Day");
// initialise as an all-day event..
christmas.getProperties().getProperty(Property.DTSTART).getParameters().add(Value.DATE);

So similarly is there any other way to remove calendar entry?

Many thanks,
Sowjanya.