code: public void restoreState(FacesContext facesContext, Object state)
      {
          if (state != null)
          {
              Object[] values = (Object[])state;
              _dateStyle = (String)values[0];
              _locale = (Locale)values[1];
              _pattern = (String)values[2];
              _timeStyle = (String)values[3];
              _timeZone = (TimeZone)values[4];
              _type = (String)values[5];
          }
      }
docs: STATE SAVE/RESTORE