public function setCurrentTime(\DateTimeImmutable $fixedTime): void
    {
        $this->fixedTime = $fixedTime->setTimezone($this->timeZone);
    }
public function setCurrentTime(\DateTimeImmutable $fixedTime): void
    {
        $this->fixedTime = $fixedTime->setTimezone($this->timeZone);
    }
public function setCurrentTime ( \ DateTimeImmutable $ fixedTime ) : void { $ this -> fixedTime = $ fixedTime -> setTimezone ( $ this -> timeZone ) ; }
Set fixed date.

@param \DateTimeImmutable $fixedTime
Set fixed date .