|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.model.BudgetCategoryType
public abstract class BudgetCategoryType
Abstract definition of BudgetCategoryType. Extend this object to define new BudgetCategoryType classes. (Note that it is highly recommended to not create new classes of this type yourself, as it will render data files which use it incompatible with other Buddi versions. If you wish to define a new budget period type, please send the resulting class to Wyatt Olson to add into a future Buddi version)
| Constructor Summary | |
|---|---|
BudgetCategoryType()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
abstract java.util.Date |
getBudgetPeriodOffset(java.util.Date date,
int offset)
Method to move forwards or backwards by the given number of periods. |
abstract java.lang.String |
getDateFormat()
Returns the date format associated with this budget period type. |
abstract long |
getDaysInPeriod(java.util.Date date)
Returns the number of days in the period specified by date. |
abstract java.util.Date |
getEndOfBudgetPeriod(java.util.Date date)
Returns the end of the budget period which contains the given date. |
abstract java.lang.String |
getName()
Returns the name of this budget period. |
abstract java.util.Date |
getStartOfBudgetPeriod(java.util.Date date)
Returns the start of the budget period which contains the given date. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BudgetCategoryType()
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object
public abstract java.util.Date getBudgetPeriodOffset(java.util.Date date,
int offset)
date - offset -
public abstract java.lang.String getDateFormat()
public abstract long getDaysInPeriod(java.util.Date date)
date -
public abstract java.util.Date getEndOfBudgetPeriod(java.util.Date date)
date -
public abstract java.lang.String getName()
public abstract java.util.Date getStartOfBudgetPeriod(java.util.Date date)
date -
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||