Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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()));
 }