rem: var occ = Components.classes["@mozilla.org/calendar/item-occurrence;1"].createInstance(Components.interfaces.calIOccurence); 
add: var occ = Components.classes["@mozilla.org/calendar/item-occurrence;1"].createInstance(Components.interfaces.calIItemOccurrence); 
context:     getOccurrencesBetween: function(aStartDate, aEndDate, aCount) {        if (this.recurrenceInfo) {            return this.recurrenceInfo.getOccurrences(aStartDate, aEndDate, 0, aCount);        }        if (aStartDate.compare(this.startDate) >= 0 &&            aEndDate.compare(this.endDate) <= 0)        {            var occ = Components.classes["@mozilla.org/calendar/item-occurrence;1"].createInstance(Components.interfaces.calIOccurence);            occ.initialize(this, this.startDate, this.endDate);            aCount.value = 1;            return ([ occ ]);        }        aCount.value = 0;        return null;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fa84ead7c12d0450c1114ff535043957d8b213e0/calEvent.js/buggy/calendar/base/src/calEvent.js