/** * 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); }
/** * 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); }