com.taleo.integration.client.customstep.lrd
Class LocalDateProvider

java.lang.Object
  extended by com.taleo.integration.client.customstep.lrd.LocalDateProvider
All Implemented Interfaces:
DateProvider

public class LocalDateProvider
extends java.lang.Object

Date provider that uses the current date from the local server.

Author:
Romain Guay - Taleo Corporation

Field Summary
 
Fields inherited from interface com.taleo.integration.client.customstep.lrd.DateProvider
DEFAULT_LRD_MINUTE_ADJUSTMENT, PROP_MINUTE_ADJUSTEMENT
 
Constructor Summary
LocalDateProvider()
           
 
Method Summary
protected  java.util.Date adjustTime(java.util.Date date)
          Adjust the specified time using the default minute adjustment or the system property value.
 java.util.Date getDate()
          Return the date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalDateProvider

public LocalDateProvider()
Method Detail

getDate

public java.util.Date getDate()
Description copied from interface: DateProvider
Return the date.

Returns:

adjustTime

protected java.util.Date adjustTime(java.util.Date date)
Adjust the specified time using the default minute adjustment or the system property value.

Parameters:
date - The date to be adjusted