org.kuali.rice.kns.service.impl
Class ConfigurableDateTimeServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.service.impl.DateTimeServiceImpl
      extended by org.kuali.rice.kns.service.impl.ConfigurableDateTimeServiceImpl
All Implemented Interfaces:
ConfigurableDateService, DateTimeService

public class ConfigurableDateTimeServiceImpl
extends DateTimeServiceImpl
implements ConfigurableDateService


Field Summary
 
Fields inherited from class org.kuali.rice.kns.service.impl.DateTimeServiceImpl
dateToStringFormatForFileName, dateToStringFormatForUserInterface, stringToDateFormats, stringToTimestampFormats, timestampToStringFormatForFileName, timestampToStringFormatForUserInterface
 
Constructor Summary
ConfigurableDateTimeServiceImpl()
           
 
Method Summary
 java.util.Date getCurrentDate()
          Returns the current date/time as a java.util.Date
 void setCurrentDate(java.util.Date currentDate)
          Sets the currentDate attribute value.
 
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
 

Constructor Detail

ConfigurableDateTimeServiceImpl

public ConfigurableDateTimeServiceImpl()
Method Detail

setCurrentDate

public void setCurrentDate(java.util.Date currentDate)
Sets the currentDate attribute value.

Specified by:
setCurrentDate in interface ConfigurableDateService
Parameters:
currentDate - The currentDate to set.

getCurrentDate

public java.util.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 © 2004-2011 The Kuali Foundation. All Rights Reserved.