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

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

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

@param integer $hours The hours.