code: public static BigMoney ofMinor(CurrencyUnit currency, long amountMinor) {
          MoneyUtils.checkNotNull(currency, "CurrencyUnit must not be null");
          return BigMoney.of(currency, BigDecimal.valueOf(amountMinor, currency.getDecimalPlaces()));
      }
docs: Obtains an instance of {@code BigMoney} from an amount in minor units.
  <p>
  This allows you to create an instance with a specific currency and amount
  expressed in terms of the minor unit.
  The scale of the money will be that of the currency, such as 2 for USD or 0 for JPY.
  <p>
  For example, if constructing US Dollars, the input to this method represents cents.
  Note that when a currency has zero decimal places, the major and minor units are the same.
  For example, {@code ofMinor(USD, 2595)} creates the instance {@code USD 25.95}.
  
  @param currency  the currency, not null
  @param amountMinor  the amount of money in the minor division of the currency
  @return the new instance, never null