set the value endtime The time when the scheduled task ends. Enter a value in seconds.

@param endtime value to set
@throws PageException
9258
public void setEndtime(Object endtime) throws PageException {
	if (StringUtil.isEmpty(endtime)) return;
	this.endtime = DateCaster.toTime(pageContext.getTimeZone(), endtime);
    }
65244
public void setExpiredEnd(Date expiredEnd) throws InvalidArgumentException {
        if (expiredEnd == null) {
            throw new InvalidArgumentException("Date can't be null");
        }
        queryParms.put("expired_end", Util.dateToString(expiredEnd));
    }
565619
@Trivial
    protected void endTimings() {
        endTime = getTime();

        if (tc.isDebugEnabled()) {
            Tr.debug(tc, MessageFormat.format("Start time:  [ {0} ]", Long.valueOf(startTime)));
            Tr.debug(tc, MessageFormat.format("End time:    [ {0} ]", Long.valueOf(endTime)));
            Tr.debug(tc, MessageFormat.format("Delta time:  [ {0} ]", Long.valueOf(endTime - startTime)));
            Tr.debug(tc, MessageFormat.format("Stream time: [ {0} ]", Long.valueOf(streamTime)));
        }
    }
208710
protected void setScheduler(CFMLEngine engine, Resource scheduleDirectory) throws PageException {
	if (scheduleDirectory == null) {
	    if (this.scheduler == null) this.scheduler = new SchedulerImpl(engine, "<?xml version=\"1.0\"?>\n<schedule></schedule>", this);
	    return;
	}

	if (!isDirectory(scheduleDirectory)) throw new ExpressionException("schedule task directory " + scheduleDirectory + " doesn't exist or is not a directory");
	try {
	    if (this.scheduler == null) this.scheduler = new SchedulerImpl(engine, this, scheduleDirectory, SystemUtil.getCharset().name());
	}
	catch (Exception e) {
	    throw Caster.toPageException(e);
	}
    }
17118
public void setStarttime(Object starttime) throws PageException {
	if (StringUtil.isEmpty(starttime)) return;
	this.starttime = DateCaster.toTime(pageContext.getTimeZone(), starttime);
    }
155651
func (s *DescribeScheduledActionsInput) SetEndTime(v time.Time) *DescribeScheduledActionsInput {
	s.EndTime = &v
	return s
}
663504
public void setEnd(ReadableInstant end) {
        long endMillis = DateTimeUtils.getInstantMillis(end);
        super.setInterval(getStartMillis(), endMillis, getChronology());
    }
724922
func (s *DocumentClassifierProperties) SetEndTime(v time.Time) *DocumentClassifierProperties {
	s.EndTime = &v
	return s
}
114821
func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetEndTime(v time.Time) *MaintenanceWindowExecutionTaskInvocationIdentity {
	s.EndTime = &v
	return s
}
1003758
public function setEnd($end, $write=true)
    {
        $e = $this;

        if ($e->TimeFrameType == 'DateTime') {
            $e->EndDateTime = $end;
        } elseif ($e->TimeFrameType == 'Duration') {
            $duration = $this->calcDurationBasedOnEndDateTime($end);
            if ($duration) {
                $e->Duration = $duration;
            } else {
                //if duration is more than 1 day, make the time frame "DateTime"
                $e->TimeFrameType = 'DateTime';
                $e->EndDateTime = $end;
            }
        }

        if ($write) {
            $e->write();
        }
    }
99169
public void setEndTime(final Date date) {

        if (!Objects.equals(m_model.getEnd(), date)) {
            m_model.setEnd(date);
            valueChanged();
        }

    }
1000057
func (s *ScheduledAction) SetEndTime(v time.Time) *ScheduledAction {
	s.EndTime = &v
	return s
}
85687
public void setEndDate(com.google.api.ads.admanager.axis.v201902.Date endDate) {
        this.endDate = endDate;
    }
1193352
func (s *GetRelationalDatabaseLogEventsInput) SetEndTime(v time.Time) *GetRelationalDatabaseLogEventsInput {
	s.EndTime = &v
	return s
}
431371
public void setEndTime(String fieldName, Date endTime) {
		this.where += " and " + fieldName + "<=?";
		this.getParam().setDate(endTime);
	}
360420
@Override
    public void setQueryTimeout(int seconds) throws SQLException
    {
        checkClosed();
        if (seconds < 0) {
            throw SQLError.get(SQLError.ILLEGAL_ARGUMENT, seconds);
        }
        if (seconds == 0) {
            this.m_timeout = Integer.MAX_VALUE;
        } else {
            this.m_timeout = seconds;
        }
    }
1100534
public final void setEndDate(Date endDate) {
                if (this.endDate == null || !this.endDate.equals(endDate)) {
                        if (endDate != null && startDate != null && endDate.before(startDate)) {
                                throw new ParameterException("The start date must be before the end date of the filter.");
                        }
                        this.endDate = endDate;
                        setChanged();
                        notifyObservers();
                }
        }