Class NetWorthCalculator
java.lang.Object
com.infinitekind.moneydance.model.NetWorthCalculator
public class NetWorthCalculator
extends java.lang.Object
NetWorthCalculator objects will calculate the net worth of the specified data file.
The calculation can observe or ignore account-specific flags for whether they
should be included in net worth calculations. It can also be set to ignore (or not)
the "inactive" flag that can be set on accounts.
- Since:
- Moneydance 2017.3 build 1614
-
Constructor Summary
Constructors Constructor Description NetWorthCalculator(AccountBook book)
-
Method Summary
Modifier and Type Method Description TotalAmount
calculateTotal()
Account.BalanceType
getBalanceType()
CurrencyType
getCurrency()
boolean
isIgnoreInactiveAccounts()
boolean
isObserveAccountSpecificNetWorthFlags()
void
setBalanceType(Account.BalanceType balanceType)
void
setCurrency(CurrencyType currency)
void
setIgnoreInactiveAccounts(boolean ignoreInactiveAccounts)
void
setObserveAccountSpecificNetWorthFlags(boolean observeAccountSpecificNetWorthFlags)
-
Constructor Details
-
Method Details
-
setCurrency
-
getCurrency
-
getBalanceType
-
setBalanceType
-
isIgnoreInactiveAccounts
public boolean isIgnoreInactiveAccounts() -
setIgnoreInactiveAccounts
public void setIgnoreInactiveAccounts(boolean ignoreInactiveAccounts) -
isObserveAccountSpecificNetWorthFlags
public boolean isObserveAccountSpecificNetWorthFlags() -
setObserveAccountSpecificNetWorthFlags
public void setObserveAccountSpecificNetWorthFlags(boolean observeAccountSpecificNetWorthFlags) -
calculateTotal
-