Exemple #1
0
 /**
  * set the value starttime Required when creating tasks with action = 'update'. Enter a value in
  * seconds. The time when scheduling of the task starts.
  *
  * @param starttime value to set
  * @throws PageException
  */
 public void setStarttime(Object starttime) throws PageException {
   if (StringUtil.isEmpty(starttime)) return;
   this.starttime = DateCaster.toTime(pageContext.getTimeZone(), starttime);
 }
Exemple #2
0
 /**
  * set the value endtime The time when the scheduled task ends. Enter a value in seconds.
  *
  * @param endtime value to set
  * @throws PageException
  */
 public void setEndtime(Object endtime) throws PageException {
   if (StringUtil.isEmpty(endtime)) return;
   this.endtime = DateCaster.toTime(pageContext.getTimeZone(), endtime);
 }
Exemple #3
0
 /**
  * set the value enddate The date when the scheduled task ends.
  *
  * @param enddate value to set
  * @throws PageException
  */
 public void setEnddate(Object enddate) throws PageException {
   if (StringUtil.isEmpty(enddate)) return;
   this.enddate = new DateImpl(DateCaster.toDateAdvanced(enddate, pageContext.getTimeZone()));
 }