rem: if (this.alarmTime) { 
add: if (this.alarmOffset) { 
context:     fillIcalComponentFromBase: function (icalcomp) {        // Make sure that the LMT and ST are updated        this.updateStampTime();        this.ensureNotDirty();        this.mapPropsToICS(icalcomp, this.icsBasePropMap);        if (this.mOrganizer)            icalcomp.addProperty(this.mOrganizer.icalProperty);        for (var i = 0; i < this.mAttendees.length; i++)            icalcomp.addProperty(this.mAttendees[i].icalProperty);        if (this.mGeneration) {            var genprop = icalProp("X-MOZILLA-GENERATION");            genprop.value = String(this.mGeneration);            icalcomp.addProperty(genprop);        }        if (this.mRecurrenceInfo) {            var ritems = this.mRecurrenceInfo.getRecurrenceItems({});            for (i in ritems) {                icalcomp.addProperty(ritems[i].icalProperty);            }        }                if (this.alarmTime) {            const icssvc = Components.classes["@mozilla.org/calendar/ics-service;1"]                                     .getService(Components.interfaces.calIICSService);            var alarmComp = icssvc.createIcalComponent("VALARM");            var duration = Components.classes["@mozilla.org/calendar/duration;1"]                                     .createInstance(Components.interfaces.calIDuration);            duration.isNegative = true;            duration[this.getProperty("alarmUnits")] = this.getProperty("alarmLength");            var triggerProp = icssvc.createIcalProperty("TRIGGER");            triggerProp.valueAsIcalString = duration.icalString;            if (this.getProperty("alarmRelated") == "END")                 triggerProp.setParameter("RELATED", "END");            alarmComp.addProperty(triggerProp);            if (this.getProperty("alarmEmailAddress")) {                var emailProp = icssvc.createIcalProperty("X-EMAILADDRESS");                emailProp.value = this.getProperty("alarmEmailAddress");                alarmComp.addProperty(emailProp);            }            icalcomp.addSubcomponent(alarmComp);        }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/24e6bb82600f00466ed33ae7f2c3b625e5f5591c/calItemBase.js/clean/calendar/base/src/calItemBase.js