public class RunDateServiceImpl extends Object implements RunDateService
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | RunDateServiceImpl.CutoffTimeHolds the hour, minute, and second of a given cut off time | 
| Constructor and Description | 
|---|
| RunDateServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| Date | calculateRunDate(Date executionDate)Returns the assumed runtime given the actual execution time. | 
| protected boolean | isCurrentDateBeforeCutoff(Calendar currentCal,
                                                  RunDateServiceImpl.CutoffTime cutoffTime)Determines if the given calendar time is before the given cutoff time | 
| protected RunDateServiceImpl.CutoffTime | parseCutoffTime(String cutoffTime)Parses a String representation of the cutoff time | 
| protected String | retrieveCutoffTimeValue()Retrieves the cutoff time from a repository. | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) | 
public RunDateServiceImpl()
public Date calculateRunDate(Date executionDate)
RunDateServicecalculateRunDate in interface RunDateServiceexecutionDate - the actual date that this method is calledRunDateService.calculateRunDate(java.util.Date)protected boolean isCurrentDateBeforeCutoff(Calendar currentCal, RunDateServiceImpl.CutoffTime cutoffTime)
currentCal - the current timecutoffTime - the "start of the day" cut off timeprotected RunDateServiceImpl.CutoffTime parseCutoffTime(String cutoffTime)
cutoffTime - the cutoff time String to parseprotected String retrieveCutoffTimeValue()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.