Class Budget.CalculationResults
java.lang.Object
com.infinitekind.moneydance.model.Budget.CalculationResults
- Enclosing class:
- Budget
public static class Budget.CalculationResults
extends java.lang.Object
Holds the results of a budget calculation, including totals for income and expenses separately,
and for multiple date ranges. Results include both actual spending and budgeted spending.
-
Constructor Summary
Constructors Constructor Description CalculationResults(int intervalCount)
-
Method Summary
Modifier and Type Method Description void
addItem(BudgetItemDetail item)
void
addToActualExpense(int interval, long actual)
void
addToActualIncome(int interval, long actual)
void
addToBudgetedExpense(int interval, long budgeted)
void
addToBudgetedIncome(int interval, long budgeted)
long
getActualExpenses(int interval)
long[]
getActualExpensesList()
long
getActualIncome(int interval)
long[]
getActualIncomeList()
long
getBudgetedExpenses(int interval)
long[]
getBudgetedExpensesList()
long
getBudgetedIncome(int interval)
long[]
getBudgetedIncomeList()
java.util.List<BudgetItemDetail>
getItemList()
long
getMaxValue(int interval)
void
resetItems()
void
sortItems()
-
Constructor Details
-
CalculationResults
public CalculationResults(int intervalCount)
-
-
Method Details
-
addToActualIncome
public void addToActualIncome(int interval, long actual) -
getActualIncome
public long getActualIncome(int interval) -
getActualIncomeList
public long[] getActualIncomeList() -
addToBudgetedIncome
public void addToBudgetedIncome(int interval, long budgeted) -
getBudgetedIncome
public long getBudgetedIncome(int interval) -
getBudgetedIncomeList
public long[] getBudgetedIncomeList() -
addToActualExpense
public void addToActualExpense(int interval, long actual) -
getActualExpenses
public long getActualExpenses(int interval) -
getActualExpensesList
public long[] getActualExpensesList() -
addToBudgetedExpense
public void addToBudgetedExpense(int interval, long budgeted) -
getBudgetedExpenses
public long getBudgetedExpenses(int interval) -
getBudgetedExpensesList
public long[] getBudgetedExpensesList() -
getMaxValue
public long getMaxValue(int interval) -
resetItems
public void resetItems() -
addItem
-
sortItems
public void sortItems() -
getItemList
-