|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurableDateService
This is a timeDateService that allows tests to specify the date/time they need to run. Set the currentDate property in this class before running your code under test and dateTimeService.getCurrentDate() will return the one you specify instead of the current date.
Method Summary | |
---|---|
void |
setCurrentDate(Date currentDate)
|
Methods inherited from interface org.kuali.rice.kns.service.DateTimeService |
---|
convertToDate, convertToDateTime, convertToSqlDate, convertToSqlDate, convertToSqlTimestamp, dateDiff, getCalendar, getCurrentCalendar, getCurrentDate, getCurrentSqlDate, getCurrentSqlDateMidnight, getCurrentTimestamp, initializeDateTimeService, toDateString, toDateStringForFilename, toDateTimeString, toDateTimeStringForFilename, toString |
Method Detail |
---|
void setCurrentDate(Date currentDate)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |