rem: var event = aOccurrence.item.clone(); event.startDate = aNewStartTime; event.endDate = aNewEndTime; event.calendar.modifyItem(event, null); 
add: var newEvent = aOccurrence.item.clone(); newEvent.startDate = aNewStartTime; newEvent.endDate = aNewEndTime; newEvent.calendar.modifyItem(newEvent, aOccurrence.item, null); 
context:     modifyOccurrence: function (aOccurrence, aNewStartTime, aNewEndTime) {        if (aOccurrence.recurrenceInfo) {            dump ("*** Don't know what to do in modifyOccurrence for a recurring event!\n");            return;        }        if (aNewStartTime && aNewEndTime && !aNewStartTime.isDate && !aNewEndTime.isDate) {            var event = aOccurrence.item.clone();            event.startDate = aNewStartTime;            event.endDate = aNewEndTime;            event.calendar.modifyItem(event, null);        } else {            modifyEventWithDialog(aOccurrence.item);        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1b6f0137f730b59d027e44c345e981351b7d1aba/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js