public function withIntervalInHours($intervalInHours)
    {
        $this->validateInterval($intervalInHours);
        $this->interval = $intervalInHours;
        $this->intervalUnit = IntervalUnit::HOUR;

        return $this;
    }