public class PurapRunDateServiceImpl extends Object implements PurapRunDateService
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | PurapRunDateServiceImpl.CutoffTimeHolds the hour, minute, and second of a given cut off time | 
| Constructor and Description | 
|---|
| PurapRunDateServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | adjustTimeOfDay(Calendar calendar,
                              boolean appliedCutoff)Adjusts the time of day if necessary, possibly depending on whether the execution time was before or after cutoff time | 
| Date | calculateRunDate(Date executionDate)Determines the date to assume when running the batch processes | 
| protected boolean | isCurrentDateAfterCutoff(Calendar currentCal,
                                                PurapRunDateServiceImpl.CutoffTime cutoffTime)Determines if the given calendar time is before the given cutoff time | 
| protected PurapRunDateServiceImpl.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 PurapRunDateServiceImpl()
public Date calculateRunDate(Date executionDate)
calculateRunDate in interface PurapRunDateServiceexecutionDate - the actual date that this method is calledprotected void adjustTimeOfDay(Calendar calendar, boolean appliedCutoff)
calendar - appliedCutoff - true if the execution time was before the cutoffprotected boolean isCurrentDateAfterCutoff(Calendar currentCal, PurapRunDateServiceImpl.CutoffTime cutoffTime)
currentCal - the current timecutoffTime - the "start of the day" cut off timeprotected PurapRunDateServiceImpl.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–2015 The Kuali Foundation. All rights reserved.