add:      if (instance.parentItem == instance) {  var startDiff = instance.startDate.subtractDate(aOccurrence.startDate); aNewStartTime.addDuration(startDiff); var endDiff = instance.endDate.subtractDate(aOccurrence.endDate); aNewEndTime.addDuration(endDiff); } 
context:     modifyOccurrence: function (aOccurrence, aNewStartTime, aNewEndTime) {        // if we can modify this thing directly (e.g. just the time changed),        // then do so; otherwise pop up the dialog        var itemToEdit = getOccurrenceOrParent(aOccurrence);        if (aNewStartTime && aNewEndTime && !aNewStartTime.isDate && !aNewEndTime.isDate) {            var instance = itemToEdit.clone();            instance.startDate = aNewStartTime;            instance.endDate = aNewEndTime;            instance.calendar.modifyItem(instance, itemToEdit, null);        } else {            modifyEventWithDialog(itemToEdit);        }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6b1a8e840da62069c966f4c6439db88388626cb9/calendar-management.js/buggy/calendar/lightning/content/calendar-management.js