Sets minute stepping.

@param number $minute_step

@throws InvalidArgumentException

@return \Core\Html\Controls\DateTimePicker
766485
public function setMinuteStepping($minute_step)
    {
        $minute_step = (int) $minute_step;

        if (empty($minute_step)) {
            Throw new ControlException('Datepicker minute step has to be of type integer');
        }

        if ($minute_step < 1 || $minute_step > 59) {
            Throw new ControlException('Datepicker minute step has to be between 1 and 59.');
        }

        $this->option_minute_stepping = $minute_step;
        $this->set_options['minute_stepping'] = 'minuteStepping';

        return $this;
    }
387219
public function setMin($min)
    {
        if (!is_int($min)) {
            throw new \InvalidArgumentException('The attribute min on the class Attribute has to be integer (' . gettype($min) . ('object' === gettype($min) ? ' ' . get_class($min) : '') . ' given).');
        }

        $this->min = $min;

        return $this;
    }
170771
public function store($key, $value, $minute = null)
    {
        return $this->apc->store($key, $value, $minute = null);
    }
75091
public function setByMinute($value)
    {
        if (!is_integer($value) || $value < 0 || $value > 59) {
            throw new \InvalidArgumentException('Invalid value for BYMINUTE');
        }

        $this->byMinute = $value;

        $this->canUseBySetPos = true;

        return $this;
    }
951193
function setTimestamp(?int $timestamp = null) {
        $this->timestamp = (new \DateTime(($timestamp !== null ? '@'.$timestamp : 'now')))->format('c');
        return $this;
    }
653219
public function setStep($step)
    {
        if (is_int($step)) {
            $this->step = $step;
        } else {
            $msg = "'Step' must be an integer, '" . gettype($step) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
1357318
public function getMinute($yearOrStart, $month = null, $day = null, $hour = null, $minute = null)
    {
        if (!$yearOrStart instanceof \DateTime) {
            $yearOrStart = new \DateTime(sprintf('%s-%s-%s %s:%s', $yearOrStart, $month, $day, $hour, $minute));
        }

        return $this->getFactory()->createMinute($yearOrStart);
    }
1201538
public function setParent(Step $parent = null)
    {
        if ($parent !== $this->parent) {
            $this->parent = $parent;

            if (null !== $parent) {
                $parent->addChild($this);
            }
        }

        return $this;
    }
140445
public function withMinute(int $minute) : LocalDateTime
    {
        $time = $this->time->withMinute($minute);

        if ($time === $this->time) {
            return $this;
        }

        return new LocalDateTime($this->date, $time);
    }
25923
function setMinute( $min )
    {
        $this->Time = $this->hour() * self::SECONDS_AN_HOUR + ($min % 60) * self::SECONDS_A_MINUTE + $this->second();
        $this->IsValid = $this->Time >= 0;
    }
959151
public function setTime( $hour, $minute, $second = 0, $microsecond = 0)
    {
        if( $this->isInfinity() ) {
            return $this;
        }
        $this->microseconds = $microsecond ? (int) $microsecond : 0;
        return parent::setTime( $hour, $minute, $second );
    }
1365186
public function SetExpirationMinutes($minutes)
    {
        if ($minutes < 5 || $minutes > 60)
            throw new \InvalidArgumentException('Expiration minutes value of "' . $minutes . '" is not between 5 and 60.');

        $expires = new \DateTime();
        $expires->add(new \DateInterval('PT' . $minutes . 'M'));
        $this->ExpirationTime = $expires->format(DATE_RFC3339);
    }
132242
function adjustTime( $hour, $minute = 0, $second = 0 )
    {
        $this->setTimeOfDay( $hour * self::SECONDS_AN_HOUR +
                             $minute * self::SECONDS_A_MINUTE +
                             $second + $this->Time );
    }
581131
public function setMinute($minute)
 	{
		if(! in_array($minute, range(0, 59))) {
			throw new InvalidArgumentException('Minute must be between 0 and 59');
		}
 		$this->minute = $minute;
        return $this;
 	}
29116
public function setStep(string $step)
    {
        $this->doSetStep($step);
        $this->getTag()->setAttribute('step', $step);

        return $this;
    }
616473
public function setTime($hour, $minute, $second = 0)
        {
            parent::setTime($hour, $minute, $second);

            return $this;
        }
432777
function setMinute( $min )
    {
        $arr = getdate( $this->DateTime );
        $this->DateTime = mktime( $arr['hours'], $min, $arr['seconds'],
                                  $arr['mon'], $arr['mday'], $arr['year'] );
    }