org.kuali.rice.kns.service.impl
Class ConfigurableDateTimeServiceImpl
java.lang.Object
org.kuali.rice.kns.service.impl.DateTimeServiceImpl
org.kuali.rice.kns.service.impl.ConfigurableDateTimeServiceImpl
- All Implemented Interfaces:
- ConfigurableDateService, DateTimeService
public class ConfigurableDateTimeServiceImpl
- extends DateTimeServiceImpl
- implements ConfigurableDateService
Methods inherited from class org.kuali.rice.kns.service.impl.DateTimeServiceImpl |
convertToDate, convertToDateTime, convertToSqlDate, convertToSqlDate, convertToSqlTimestamp, dateDiff, getCalendar, getCurrentCalendar, getCurrentSqlDate, getCurrentSqlDateMidnight, getCurrentTimestamp, initializeDateTimeService, parse, parseAgainstFormatArray, toDateString, toDateStringForFilename, toDateTimeString, toDateTimeStringForFilename, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kns.service.DateTimeService |
convertToDate, convertToDateTime, convertToSqlDate, convertToSqlDate, convertToSqlTimestamp, dateDiff, getCalendar, getCurrentCalendar, getCurrentSqlDate, getCurrentSqlDateMidnight, getCurrentTimestamp, initializeDateTimeService, toDateString, toDateStringForFilename, toDateTimeString, toDateTimeStringForFilename, toString |
currentDate
private Date currentDate
ConfigurableDateTimeServiceImpl
public ConfigurableDateTimeServiceImpl()
setCurrentDate
public void setCurrentDate(Date currentDate)
- Sets the currentDate attribute value.
- Specified by:
setCurrentDate
in interface ConfigurableDateService
- Parameters:
currentDate
- The currentDate to set.
getCurrentDate
public Date getCurrentDate()
- Description copied from interface:
DateTimeService
- Returns the current date/time as a java.util.Date
- Specified by:
getCurrentDate
in interface DateTimeService
- Overrides:
getCurrentDate
in class DateTimeServiceImpl
- Returns:
- current date/time
- See Also:
DateTimeService.getCurrentDate()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.