context:     writeEvent: function (item, olditem, flags) {        var ip = this.mInsertEvent.params;        this.setupItemBaseParams(item, olditem,ip);        var tmp;        tmp = item.getUnproxiedProperty("DTSTART");        //if (tmp instanceof kCalIDateTime) {}        this.setDateParamHelper(ip, "event_start", tmp);        tmp = item.getUnproxiedProperty("DTEND");        //if (tmp instanceof kCalIDateTime) {}        this.setDateParamHelper(ip, "event_end", tmp);        if (item.startDate.isDate)            flags |= CAL_ITEM_FLAG_EVENT_ALLDAY;        ip.flags = flags;        this.mInsertEvent.execute();    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7ab280b484906a5a98bb6cef67c4dc91662984ad/calStorageCalendar.js/buggy/calendar/providers/storage/calStorageCalendar.js