|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.model.impl.ImmutableBudgetCategoryTypeImpl
public class ImmutableBudgetCategoryTypeImpl
| Constructor Summary | |
|---|---|
ImmutableBudgetCategoryTypeImpl(BudgetCategoryType budgetCategoryType)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
BudgetCategoryType |
getBudgetCategoryType()
Returns the raw (wrapped) model object. |
java.util.Date |
getBudgetPeriodOffset(java.util.Date date,
int offset)
Method to move forwards or backwards by the given number of periods. |
java.lang.String |
getDateFormat()
Returns the date format associated with this budget period type. |
long |
getDaysInPeriod(java.util.Date date)
Returns the number of days in the period specified by date. |
java.util.Date |
getEndOfBudgetPeriod(java.util.Date date)
Returns the end of the budget period which contains the given date. |
java.lang.String |
getName()
Returns the name of this budget period. |
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 ImmutableBudgetCategoryTypeImpl(BudgetCategoryType budgetCategoryType)
| Method Detail |
|---|
public BudgetCategoryType getBudgetCategoryType()
ImmutableBudgetCategoryType
getBudgetCategoryType in interface ImmutableBudgetCategoryTypepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public java.util.Date getBudgetPeriodOffset(java.util.Date date,
int offset)
ImmutableBudgetCategoryType
getBudgetPeriodOffset in interface ImmutableBudgetCategoryTypepublic java.lang.String getDateFormat()
ImmutableBudgetCategoryType
getDateFormat in interface ImmutableBudgetCategoryTypepublic long getDaysInPeriod(java.util.Date date)
ImmutableBudgetCategoryType
getDaysInPeriod in interface ImmutableBudgetCategoryTypepublic java.util.Date getEndOfBudgetPeriod(java.util.Date date)
ImmutableBudgetCategoryType
getEndOfBudgetPeriod in interface ImmutableBudgetCategoryTypepublic java.lang.String getName()
ImmutableBudgetCategoryType
getName in interface ImmutableBudgetCategoryTypepublic java.util.Date getStartOfBudgetPeriod(java.util.Date date)
ImmutableBudgetCategoryType
getStartOfBudgetPeriod in interface ImmutableBudgetCategoryTypepublic 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 | ||||||||