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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.