code: public static String[] getAvailableCurrencyCodes(Locale loc, Date d) {
          return getAvailableCurrencyCodes(ULocale.forLocale(loc), d);
      }
docs: Returns an array of Strings which contain the currency
  identifiers that are valid for the given {@link java.util.Locale} on the
  given date.  If there are no such identifiers, returns null.
  Returned identifiers are in preference order.
  @param loc the {@link java.util.Locale} for which to retrieve currency codes.
  @param d the date for which to retrieve currency codes for the given locale.
  @return The array of ISO currency codes.