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
17118
public void setStarttime(Object starttime) throws PageException {
	if (StringUtil.isEmpty(starttime)) return;
	this.starttime = DateCaster.toTime(pageContext.getTimeZone(), starttime);
    }
1007344
public void setTimeStart(long timeStart) {

        checkFrozen();
        if (timeStart < 0) {
            throw new CmsIllegalArgumentException(
                Messages.get().container(Messages.ERR_LOGIN_MESSAGE_BAD_TIME_1, new Long(timeStart)));
        }
        if (timeStart == 0) {
            timeStart = DEFAULT_TIME_START;
        }
        m_timeStart = timeStart;
    }
791471
public void addDateCreatedStart(long start) {

        m_searchObject.setDateCreatedStart(start);
        m_searchObjectChanged = true;
        ValueChangeEvent.fire(this, m_searchObject);
    }
1178490
public void setCreationTime(com.google.api.ads.admanager.axis.v201805.DateTime creationTime) {
        this.creationTime = creationTime;
    }
1098098
public void init(String param, Date time, String language)
    {
        if (param == null)
            param = JCalendarPopup.DATE_PARAM;
        timeParam = param; 
        targetTime = time;
        languageString = language;
        
        this.setName("JTimeButton");
    }
636829
private void updateToNextWorkStart(Calendar cal)
   {
      Date originalDate = cal.getTime();

      //
      // Find the date ranges for the current day
      //
      ProjectCalendarDateRanges ranges = getRanges(originalDate, cal, null);

      if (ranges != null)
      {
         //
         // Do we have a start time today?
         //
         Date calTime = DateHelper.getCanonicalTime(cal.getTime());
         Date startTime = null;
         for (DateRange range : ranges)
         {
            Date rangeStart = DateHelper.getCanonicalTime(range.getStart());
            Date rangeEnd = DateHelper.getCanonicalTime(range.getEnd());
            Date rangeStartDay = DateHelper.getDayStartDate(range.getStart());
            Date rangeEndDay = DateHelper.getDayStartDate(range.getEnd());

            if (rangeStartDay.getTime() != rangeEndDay.getTime())
            {
               rangeEnd = DateHelper.addDays(rangeEnd, 1);
            }

            if (calTime.getTime() < rangeEnd.getTime())
            {
               if (calTime.getTime() > rangeStart.getTime())
               {
                  startTime = calTime;
               }
               else
               {
                  startTime = rangeStart;
               }
               break;
            }
         }

         //
         // If we don't have a start time today - find the next working day
         // then retrieve the start time.
         //
         if (startTime == null)
         {
            Day day;
            int nonWorkingDayCount = 0;
            do
            {
               cal.set(Calendar.DAY_OF_YEAR, cal.get(Calendar.DAY_OF_YEAR) + 1);
               day = Day.getInstance(cal.get(Calendar.DAY_OF_WEEK));
               ++nonWorkingDayCount;
               if (nonWorkingDayCount > MAX_NONWORKING_DAYS)
               {
                  cal.setTime(originalDate);
                  break;
               }
            }
            while (!isWorkingDate(cal.getTime(), day));

            startTime = getStartTime(cal.getTime());
         }

         DateHelper.setTime(cal, startTime);
      }
   }
484148
public function setStartDate($startDate): void
    {
        if (is_string($startDate)) {
            $startDate = new Time($startDate);
        }

        $this->startDate = $startDate;
    }
102864
@Override
	public WebPage run(WebPage initialPage) {
		if(getUser() == null)
			throw new IllegalStateException("the user set is null");
		WebPage currentPage = initialPage;
		for(WebTask task : this) {
			logger.info("BEGIN subtask " + task.getClass().getSimpleName());
			// before running the subtask, set the user
			task.setUser(getUser());
			currentPage = task.run(currentPage);
			logger.info("END subtask " + task.getClass().getSimpleName());
		}
		return currentPage;
	}
1050985
public final void setStartDate(Date startDate) {
                if (this.startDate == null || !this.startDate.equals(startDate)) {
                        if (startDate != null && endDate != null && endDate.before(startDate)) {
                                throw new ParameterException("The start date must be before the end date of the filter.");
                        }
                        this.startDate = startDate;
                        setChanged();
                        notifyObservers();
                }
        }
665895
public void scheduleAtWithInterval(final org.easybatch.core.job.Job job, final Date startTime, final int interval) throws JobSchedulerException {
        checkNotNull(job, "job");
        checkNotNull(startTime, "startTime");

        String name = job.getName();
        String jobName = JOB_NAME_PREFIX + name;
        String triggerName = TRIGGER_NAME_PREFIX + name;

        SimpleScheduleBuilder scheduleBuilder = simpleSchedule()
                .withIntervalInSeconds(interval)
                .repeatForever();

        Trigger trigger = newTrigger()
                .withIdentity(triggerName)
                .startAt(startTime)
                .withSchedule(scheduleBuilder)
                .forJob(jobName)
                .build();

        JobDetail jobDetail = getJobDetail(job, jobName);

        try {
            LOGGER.info("Scheduling job ''{}'' to start at {} and every {} second(s)", name, startTime, interval);
            scheduler.scheduleJob(jobDetail, trigger);
        } catch (SchedulerException e) {
            throw new JobSchedulerException(format("Unable to schedule job '%s'", name), e);
        }
    }
1330360
public synchronized Date setStartDate(Date time)
    {
        m_cachedInfo.setStartDate(time);
        int iThisIndex = m_model.indexOf(this);
        if (iThisIndex != -1)
            m_model.fireTableRowsUpdated(iThisIndex, iThisIndex);
        this.changeRemoteDate(null, null, this, time, null);
        return this.getStartDate();
    }
114754
private void doSet() throws PageException {
	if (entry == null) throw new ApplicationException("attribute entry is required for tag registry, when action is [set]");
	if (type == RegistryEntry.TYPE_ANY) type = RegistryEntry.TYPE_STRING;
	if (value == null) {
	    if (type == RegistryEntry.TYPE_DWORD) value = "0";
	    else value = "";
	}

	try {
	    RegistryQuery.setValue(branch, entry, type, value);
	}
	catch (Exception e) {
	    throw Caster.toPageException(e);
	}

    }
1156016
public void setTime( String parameterName, Time value ) throws OdaException
	{
		// only applies to named input parameter
		parameters.put(parameterName, value);
	}
316110
public void start(final Date start) {
		if (start != null) {
			submit((System.currentTimeMillis() - start.getTime()) / 1000.0, true);
		}
	}
32467
public void setEnddate(Object enddate) throws PageException {
	if (StringUtil.isEmpty(enddate)) return;
	this.enddate = new DateImpl(DateCaster.toDateAdvanced(enddate, pageContext.getTimeZone()));
    }
142982
public void setStartDate(String startDate) {
        if (StringUtils.isNotBlank(startDate)) {
            this.startDate = Instant.parse(startDate);
        }
    }
1138611
private void doUpdateMailSetting() throws PageException {
	// admin.setMailLog(getString("admin",action,"logfile"),getString("loglevel","ERROR"));

	admin.setMailSpoolEnable(getBoolObject("admin", action, "spoolenable"));

	/*
	 * / spool interval String str=getString("admin",action,"maxThreads"); Integer i=null;
	 * if(!StringUtil.isEmpty(str))i=Caster.toInteger(maxThreads);
	 */

	// timeout
	String str = getString("admin", action, "timeout");
	Integer i = null;
	if (!StringUtil.isEmpty(str)) i = Caster.toInteger(str);
	admin.setMailTimeout(i);

	admin.setMailDefaultCharset(getString("admin", action, "defaultencoding"));
	store();
	adminSync.broadcast(attributes, config);
    }