for (var i=0; i<aCount; i++) { var item = aItems[i]; calComp.addSubcomponent(item.icalComponent); var rec = item.recurrenceInfo; if (rec != null) { var exceptions = rec.getExceptionIds({}); for each ( var exid in exceptions ) { var ex = rec.getExceptionFor(exid, false); if (ex != null) { calComp.addSubcomponent(ex.icalComponent); } } } } 
this.serializer.addItems(aItems, aCount); 
            onGetResult: function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems)            {                for (var i=0; i<aCount; i++) {                    var item = aItems[i];                    calComp.addSubcomponent(item.icalComponent);                    var rec = item.recurrenceInfo;                    if (rec != null) {                        var exceptions = rec.getExceptionIds({});                        for each ( var exid in exceptions ) {                            var ex = rec.getExceptionFor(exid, false);                            if (ex != null) {                                calComp.addSubcomponent(ex.icalComponent);                            }                        }                    }                }            }
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/caddb2ec4e4e6a2735f363bd9a1da951dce03167/calICSCalendar.js/buggy/calendar/providers/ics/calICSCalendar.js