|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.service.impl.UniversityDateServiceImpl
public class UniversityDateServiceImpl
This is the default implementation of the UniversityDateService interface.
Constructor Summary | |
---|---|
UniversityDateServiceImpl()
|
Method Summary | |
---|---|
Integer |
getCurrentFiscalYear()
This method retrieves the current fiscal year using today's date. |
UniversityDate |
getCurrentUniversityDate()
This method retrieves a UniversityDate object using today's date to create the instance. |
org.kuali.rice.kns.service.DateTimeService |
getDateTimeService()
|
Date |
getFirstDateOfFiscalYear(Integer fiscalYear)
This method retrieves the first date of the fiscal year provided. |
Integer |
getFiscalYear(Date date)
This method retrieves the fiscal year associated with the date provided. |
Date |
getLastDateOfFiscalYear(Integer fiscalYear)
This method retrieves the last date of the fiscal year provided. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setUniversityDateDao(UniversityDateDao universityDateDao)
Sets the universityDateDao attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UniversityDateServiceImpl()
Method Detail |
---|
public UniversityDate getCurrentUniversityDate()
getCurrentUniversityDate
in interface UniversityDateService
UniversityDateService.getCurrentUniversityDate()
public Integer getCurrentFiscalYear()
getCurrentFiscalYear
in interface UniversityDateService
org.kuali.rice.kns.service.DateTimeService#getCurrentFiscalYear()
public Integer getFiscalYear(Date date)
getFiscalYear
in interface UniversityDateService
date
- The date to be used for retrieving the associated fiscal year.
org.kuali.rice.kns.service.DateTimeService#getFiscalYear(java.util.Date)
public Date getFirstDateOfFiscalYear(Integer fiscalYear)
getFirstDateOfFiscalYear
in interface UniversityDateService
fiscalYear
- The fiscal year to retrieve the first date for.
UniversityDateService.getFirstDateOfFiscalYear(java.lang.Integer)
public Date getLastDateOfFiscalYear(Integer fiscalYear)
getLastDateOfFiscalYear
in interface UniversityDateService
fiscalYear
- The fiscal year to retrieve the last date for.
UniversityDateService.getLastDateOfFiscalYear(java.lang.Integer)
public void setUniversityDateDao(UniversityDateDao universityDateDao)
universityDateDao
- The universityDateDao to set.public org.kuali.rice.kns.service.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |