public void restoreState(int occurrence, Date baseDate, Date triggerDate) {
        this.occurrence = occurrence;
        this.baseDate = baseDate;
        this.triggerDate = triggerDate;
    }
Restores the state of the trigger, when the notification is loaded from the SharedPreferences
@param occurrence
@param baseDate
@param triggerDate
src/android/trigger/TriggerHandler.java