/** Remove VAlarm from VCalendar. */ public void removeVAlarm() { if (vObjects != null) { for (VObject vObject : vObjects) { if ("VEVENT".equals(vObject.type)) { // As VALARM is the only possible inner object, just drop all objects if (vObject.vObjects != null) { vObject.vObjects = null; } } } } }