code: public void applyLocalizedPattern(String pat) {
          this.pattern = translatePattern(pat,
                                          formatData.localPatternChars,
                                          DateFormatSymbols.patternChars);
          setLocale(null, null);
      }
docs: Apply the given localized pattern string to this date format.