rem: get icalComponent() { const icssvc = Components. classes["@mozilla.org/calendar/ics-service;1"]. getService(Components.interfaces.calIICSService); var icalcomp = icssvc.createIcalComponent("VTODO"); this.fillIcalComponentFromBase(icalcomp); this.mapPropsToICS(icalcomp, this.icsEventPropMap);  var bagenum = this.mProperties.enumerator; while (bagenum.hasMoreElements()) { var iprop = bagenum.getNext(). QueryInterface(Components.interfaces.nsIProperty); try { if (!this.todoPromotedProps[iprop.name]) { var icalprop = icssvc.createIcalProperty(iprop.name); icalprop.value = iprop.value; icalcomp.addProperty(icalprop); } } catch (e) {   } } return icalcomp; }, 
add: get entryDate() { return this.getProperty("DTSTART"); } 
context:     get icalComponent() {        const icssvc = Components.          classes["@mozilla.org/calendar/ics-service;1"].          getService(Components.interfaces.calIICSService);        var icalcomp = icssvc.createIcalComponent("VTODO");        this.fillIcalComponentFromBase(icalcomp);        this.mapPropsToICS(icalcomp, this.icsEventPropMap);        var bagenum = this.mProperties.enumerator;        while (bagenum.hasMoreElements()) {            var iprop = bagenum.getNext().                QueryInterface(Components.interfaces.nsIProperty);            try {                if (!this.todoPromotedProps[iprop.name]) {                    var icalprop = icssvc.createIcalProperty(iprop.name);                    icalprop.value = iprop.value;                    icalcomp.addProperty(icalprop);                }            } catch (e) {                // dump("failed to set " + iprop.name + " to " + iprop.value +                // ": " + e + "\n");            }        }        return icalcomp;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6b1a8e840da62069c966f4c6439db88388626cb9/calTodo.js/buggy/calendar/base/src/calTodo.js