rem:   this.mRangeStart = jsDateToDateTime((new Date())).getInTimezone("UTC"); 
add: var now = jsDateToDateTime((new Date())).getInTimezone("UTC"); 
context:     findAlarms: function() {        if (this.mEvents.length > 0) {            // This may happen if an alarm is snoozed over the time range mark            var err = new Error();            var debug = Components.classes["@mozilla.org/xpcom/debug;1"].getService(Components.interfaces.nsIDebug);            debug.warning("mEvents.length should always be 0 when we enter findAlarms",                          err.fileName, err.lineNumber);        }        var getListener = {            alarmService: this,            onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail) {            },            onGetResult: function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems) {                for (var i = 0; i < aCount; ++i) {                    var item = aItems[i];                    if (item.alarmTime) {                        this.alarmService.addAlarm(item, false);                    }                }            }        };        // figure out the 'now' and 6 hours from now and look for events         // between then with alarms        this.mRangeStart = jsDateToDateTime((new Date())).getInTimezone("UTC");        var until = this.mRangeStart.clone();        until.hour += kHoursBetweenUpdates;        until.normalize();        this.mRangeEnd = until.getInTimezone("UTC");        var calendarManager = this.calendarManager;        var calendars = calendarManager.getCalendars({});        for each(var calendar in calendars) {            calendar.getItems(calendar.ITEM_FILTER_TYPE_EVENT,                              0, this.mRangeStart, this.mRangeEnd, getListener);        }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/24e6bb82600f00466ed33ae7f2c3b625e5f5591c/calAlarmService.js/buggy/calendar/base/src/calAlarmService.js