Cake\Chronos\ChronosInterface::setTimezone PHP Method

setTimezone() public method

Set the instance's timezone from a string or object
public setTimezone ( DateTimeZon\DateTimeZone | string $value ) : static
$value DateTimeZon\DateTimeZone | string The DateTimeZone object or timezone name to use.
return static
    public function setTimezone($value);
ChronosInterface