public class CRMProcess
extends com.crm.businessobject.CRMBase
Constructor and Description |
---|
CRMProcess()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createCronExpressionFromDate(java.util.Date executionDate)
Creates a cron expression from a date.
|
java.lang.String |
createCronExpressionFromDate(java.util.Date executionDate,
java.lang.Integer seconds)
Creates a cron expression from a date.
|
public java.lang.String createCronExpressionFromDate(java.util.Date executionDate) throws java.lang.Exception
executionDate
- - the execution date to create the cron expression forjava.lang.Exception
public java.lang.String createCronExpressionFromDate(java.util.Date executionDate, java.lang.Integer seconds) throws java.lang.Exception
executionDate
- - the execution date to create the cron expression forseconds
- - the seconds that will be added in the execution date.java.lang.Exception