code: private static String getDisplayScriptInternal(ULocale locale, ULocale displayLocale) {
          return LocaleDisplayNames.getInstance(displayLocale)
                  .scriptDisplayName(locale.getScript());
      }
docs: displayLocaleID is canonical, localeID need not be since parsing will fix this.