code: public void setEndtime(Object endtime) throws PageException {
  	if (StringUtil.isEmpty(endtime)) return;
  	this.endtime = DateCaster.toTime(pageContext.getTimeZone(), endtime);
      }
docs: set the value endtime The time when the scheduled task ends. Enter a value in seconds.
  
  @param endtime value to set
  @throws PageException