public class FiscalYearMonthServiceImpl extends Object implements FiscalYearMonthService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DOCUMENT_COMPONENT_NAME |
protected static String |
FISCAL_YEAR_MONTH_PARAMETER_NAME |
protected static String |
KC_GENERAL_NAMESPACE |
protected static String |
MONTH_KEY |
protected static String |
YEAR_KEY |
| Constructor and Description |
|---|
FiscalYearMonthServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Integer> |
getCurrentFiscalData(Calendar calendar)
This method returns a Map object that contains the current fiscal month and year.
|
Integer |
getCurrentFiscalMonth()
This method returns the Integer value of the current month in the fiscal year.
|
Integer |
getCurrentFiscalMonthForDisplay()
This method returns the Integer value of the current month in the fiscal year.
|
Integer |
getCurrentFiscalYear()
This method returns the current fiscal year.
|
Calendar |
getFiscalYearEndDate(Integer fiscalYear)
This method determines the date the passed in fiscal year ended on.
|
Integer |
getFiscalYearFromDate(Calendar date)
This method calculates what fiscal year the passed in date is in.
|
protected Integer |
getFiscalYearMonth()
This method returns the value of the KC_FISCAL_START_MONTH parameter.
|
Calendar |
getFiscalYearStartDate(Integer fiscalYear)
This method determines the date the passed in fiscal year started on.
|
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
protected static final String FISCAL_YEAR_MONTH_PARAMETER_NAME
protected static final String KC_GENERAL_NAMESPACE
protected static final String DOCUMENT_COMPONENT_NAME
protected static final String MONTH_KEY
protected static final String YEAR_KEY
public Integer getCurrentFiscalMonth()
FiscalYearMonthServicegetCurrentFiscalMonth in interface FiscalYearMonthServicepublic Integer getCurrentFiscalMonthForDisplay()
FiscalYearMonthServicegetCurrentFiscalMonthForDisplay in interface FiscalYearMonthServicepublic Integer getCurrentFiscalYear()
FiscalYearMonthServicegetCurrentFiscalYear in interface FiscalYearMonthServicepublic Integer getFiscalYearFromDate(Calendar date)
FiscalYearMonthServicegetFiscalYearFromDate in interface FiscalYearMonthServiceprotected Map<String,Integer> getCurrentFiscalData(Calendar calendar)
calendar, - if you want to use something other than the current day.protected Integer getFiscalYearMonth()
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public Calendar getFiscalYearStartDate(Integer fiscalYear)
FiscalYearMonthServicegetFiscalYearStartDate in interface FiscalYearMonthServicepublic Calendar getFiscalYearEndDate(Integer fiscalYear)
FiscalYearMonthServicegetFiscalYearEndDate in interface FiscalYearMonthServiceCopyright © 2013 The Kuali Foundation. All Rights Reserved.