Jyxo\Time\Time::get PHP Method

get() public static method

Useful for one-time usage.
public static get ( string | integer | Time | DateTime $time, string | DateTimeZone $timeZone = null ) : self
$time string | integer | Time | DateTime Date/time definition
$timeZone string | DateTimeZone Time zone definition
return self
    public static function get($time, $timeZone = null) : self
    {
        return new self($time, $timeZone);
    }