|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.RunDateServiceImpl
public class RunDateServiceImpl
The default implementation of RunDateService
Nested Class Summary | |
---|---|
protected class |
RunDateServiceImpl.CutoffTime
Holds the hour, minute, and second of a given cut off time |
Constructor Summary | |
---|---|
RunDateServiceImpl()
|
Method Summary | |
---|---|
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.kns.service.ParameterService parameterService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RunDateServiceImpl()
Method Detail |
---|
public Date calculateRunDate(Date executionDate)
RunDateService
calculateRunDate
in interface RunDateService
executionDate
- the actual date that this method is called
RunDateService.calculateRunDate(java.util.Date)
protected boolean isCurrentDateBeforeCutoff(Calendar currentCal, RunDateServiceImpl.CutoffTime cutoffTime)
currentCal
- the current timecutoffTime
- the "start of the day" cut off time
protected RunDateServiceImpl.CutoffTime parseCutoffTime(String cutoffTime)
cutoffTime
- the cutoff time String to parse
protected String retrieveCutoffTimeValue()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |