rem: newEvent = event.clone(); newEvent.alarmTime = alarmTime; 
add:  var datetime; if (newEvent.alarmRelated == newEvent.ALARM_RELATED_START) { datetime = newEvent.startDate || newEvent.entryDate; } else { datetime = newEvent.endDate || newEvent.dueDate; }  var duration = datetime.subtractDate(alarmTime); newEvent.alarmOffset = duration; 
context:     snoozeEvent: function(event, duration) {        /* modify the event for a new alarm time */        var alarmTime = jsDateToDateTime((new Date())).getInTimezone("UTC");        alarmTime.addDuration(duration);        newEvent = event.clone();        newEvent.alarmTime = alarmTime;        // calling modifyItem will cause us to get the right callback        // and update the alarm properly        newEvent.calendar.modifyItem(newEvent, event, null);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d2c3b149cf01f0c13b7b145d983a07a549258e0c/calAlarmService.js/clean/calendar/base/src/calAlarmService.js