add:  if (!this.mTimezone) { throw Components.results.NS_ERROR_NOT_INITIALIZED; } 
context:     startup: function() {        if (this.mStarted)            return;        dump("Starting calendar alarm service\n");        var observerSvc = Components.classes["@mozilla.org/observer-service;1"]                          .getService                          (Components.interfaces.nsIObserverService);        observerSvc.addObserver(this, "profile-after-change", false);        observerSvc.addObserver(this, "xpcom-shutdown", false);        /* Tell people that we're alive so they can start monitoring alarms.         * Make sure to do this before calling findAlarms().         */        this.notifier = Components.classes["@mozilla.org/embedcomp/appstartup-notifier;1"].getService(Components.interfaces.nsIObserver);        var notifier = this.notifier;        notifier.observe(null, "alarm-service-startup", null);        this.calendarManager = Components.classes["@mozilla.org/calendar/manager;1"].getService(Components.interfaces.calICalendarManager);        var calendarManager = this.calendarManager;        calendarManager.addObserver(this.calendarManagerObserver);        var calendars = calendarManager.getCalendars({});        for each(var calendar in calendars) {            this.observeCalendar(calendar);        }        this.findAlarms();        /* set up a timer to update alarms every N hours */        var timerCallback = {            alarmService: this,            notify: function(timer) {                this.alarmService.findAlarms();            }        };        this.mUpdateTimer = newTimerWithCallback(timerCallback, kHoursBetweenUpdates * 3600000, true);        this.mStarted = true;    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/ad451f0f7e8617d5ff28f2e798a7f5457d7d562a/calAlarmService.js/buggy/calendar/base/src/calAlarmService.js