rem:  duration.minutes = 5; 
add: duration.minutes = event.detail; duration.normalize(); 
context: function onSnoozeAlarm(event){  // i hate xbl..  var alarmWidget = event.target;  var alarmService = Components.classes["@mozilla.org/calendar/alarm-service;1"].getService(Components.interfaces.calIAlarmService);    var duration = Components.classes["@mozilla.org/calendar/duration;1"]                 .createInstance(Components.interfaces.calIDuration);  //XXX figure out a nice UI way to offer other length options  duration.minutes = 5;  alarmService.snoozeEvent(alarmWidget.item, duration);  var parent = alarmWidget.parentNode;  parent.removeChild(alarmWidget);  if (!parent.hasChildNodes()) {    // If this was the last alarm, close the window.    window.close();  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3bde5d687ac353900c87f6c604dfc4dea2b8491a/calendar-alarm-dialog.js/buggy/calendar/base/content/calendar-alarm-dialog.js