code: public static NumberFormat getInstance(ULocale desiredLocale, int choice) {
          if (choice < NUMBERSTYLE || choice > STANDARDCURRENCYSTYLE) {
              throw new IllegalArgumentException(
                  "choice should be from NUMBERSTYLE to STANDARDCURRENCYSTYLE");
          }
  //          if (shim == null) {
  //              return createInstance(desiredLocale, choice);
  //          } else {
  //              // TODO: shims must call setLocale() on object they create
  //              return getShim().createInstance(desiredLocale, choice);
  //          }
          return getShim().createInstance(desiredLocale, choice);
      }
docs: Returns a specific style number format for a specific locale.
  @param desiredLocale  the specific locale.
  @param choice         number format style
  @throws IllegalArgumentException  if choice is not one of
  NUMBERSTYLE, CURRENCYSTYLE,
  PERCENTSTYLE, SCIENTIFICSTYLE,
  INTEGERSTYLE, ISOCURRENCYSTYLE,
  PLURALCURRENCYSTYLE, ACCOUNTINGCURRENCYSTYLE.
  CASHCURRENCYSTYLE, STANDARDCURRENCYSTYLE.