public class UniversityDateServiceImpl extends Object implements UniversityDateService
| Modifier and Type | Field and Description | 
|---|---|
| protected org.kuali.rice.core.api.datetime.DateTimeService | dateTimeService | 
| protected UniversityDateDao | universityDateDao | 
| Constructor and Description | 
|---|
| UniversityDateServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| 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.core.api.datetime.DateTimeService dateTimeService) | 
| void | setUniversityDateDao(UniversityDateDao universityDateDao) | 
protected UniversityDateDao universityDateDao
protected org.kuali.rice.core.api.datetime.DateTimeService dateTimeService
public UniversityDateServiceImpl()
public UniversityDate getCurrentUniversityDate()
getCurrentUniversityDate in interface UniversityDateServiceUniversityDateService.getCurrentUniversityDate()public Integer getCurrentFiscalYear()
getCurrentFiscalYear in interface UniversityDateServiceorg.kuali.rice.core.api.datetime.DateTimeService#getCurrentFiscalYear()@Cacheable(value="OLE/UniversityDate",
           key="\'{FiscalYear}\'+#p0")
public Integer getFiscalYear(Date date)
getFiscalYear in interface UniversityDateServicedate - The date to be used for retrieving the associated fiscal year.org.kuali.rice.core.api.datetime.DateTimeService#getFiscalYear(java.util.Date)@Cacheable(value="OLE/UniversityDate",
           key="\'{FirstDateOfFiscalYear}\'+#p0")
public Date getFirstDateOfFiscalYear(Integer fiscalYear)
getFirstDateOfFiscalYear in interface UniversityDateServicefiscalYear - The fiscal year to retrieve the first date for.UniversityDateService.getFirstDateOfFiscalYear(java.lang.Integer)@Cacheable(value="OLE/UniversityDate",
           key="\'{LastDateOfFiscalYear}\'+#p0")
public Date getLastDateOfFiscalYear(Integer fiscalYear)
getLastDateOfFiscalYear in interface UniversityDateServicefiscalYear - The fiscal year to retrieve the last date for.UniversityDateService.getLastDateOfFiscalYear(java.lang.Integer)public void setUniversityDateDao(UniversityDateDao universityDateDao)
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.