code: public static BigMoney ofMajor(CurrencyUnit currency, long amountMajor) {
          MoneyUtils.checkNotNull(currency, "CurrencyUnit must not be null");
          return BigMoney.of(currency, BigDecimal.valueOf(amountMajor));
      }
docs: Obtains an instance of {@code BigMoney} from an amount in major units.
  <p>
  This allows you to create an instance with a specific currency and amount.
  The scale of the money will be zero.
  <p>
  The amount is a whole number only. Thus you can initialise the value
  'USD 20', but not the value 'USD 20.32'.
  For example, {@code ofMajor(USD, 25)} creates the instance {@code USD 25}.
  
  @param currency  the currency, not null
  @param amountMajor  the amount of money in the major division of the currency
  @return the new instance, never null