rem: if (aStartDate.compare(this.startDate) >= 0 && aEndDate.compare(this.endDate) <= 0) 
add: if ((this.startDate.compare(aStartDate) >= 0 && this.startDate.compare(aEndDate) <= 0) || (this.endDate.compare(aStartDate) >= 0 && this.endDate.compare(aEndDate) <= 0)) 
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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/b334d9c85d6f015caeee7a739e60bac946f47315/calEvent.js/clean/calendar/base/src/calEvent.js