src/Day/Time/Time.php
public function setSeconds(int $seconds): void
    {
        $this->timeElementsAreValid($this->hours, $this->minutes, $seconds);

        $this->seconds = $seconds;
    }
public function setSeconds(int $seconds): void
    {
        $this->timeElementsAreValid($this->hours, $this->minutes, $seconds);

        $this->seconds = $seconds;
    }
Set the seconds.

@param integer $seconds The seconds.