public AccountBalance(Account account, Money balance, DateTime date) {
this(account, balance.getValue(), date);
if (!account.getCurrency().equals(balance.getCurrency())) {
throw new CurrencyMismatchException("create an AccountBalance with", account.getCurrency(), balance.getCurrency());
}
}