rem: if (pval instanceof kCalIDateTime) { 
add: if (pval instanceof Ci.calIDateTime) { 
context:     writeProperties: function (item, olditem) {        var ret = 0;        var propEnumerator = item.unproxiedPropertyEnumerator;        while (propEnumerator.hasMoreElements()) {            ret = CAL_ITEM_FLAG_HAS_PROPERTIES;            var prop = propEnumerator.getNext().QueryInterface(Components.interfaces.nsIProperty);            if (item.isPropertyPromoted(prop.name))                continue;            var pp = this.mInsertProperty.params;            pp.key = prop.name;            var pval = prop.value;            if (pval instanceof kCalIDateTime) {                pp.value = pval.nativeTime;            } else {                pp.value = pval;            }            pp.item_id = item.id;            this.setDateParamHelper(pp, "recurrence_id", item.recurrenceId);            this.mInsertProperty.execute();        }        return ret;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/abcfc561c8e2f30ccc987594199cb5ad9a75d2cc/calStorageCalendar.js/buggy/calendar/providers/storage/calStorageCalendar.js