public function fromSqlTimeWithTimeZone($sqlTime, Provider $provider = null)
    {
        if ($sqlTime === null) {
            return null;
        }

        $this->setParameterProvider($provider);
        $phpTime = DateTime::createFromFormat($provider->getTimeWithTimeZoneFormat(), $sqlTime);

        if ($phpTime === false) {
            $phpTime = $this->parseUnknownDateTimeFormat($sqlTime);
        }

        return $phpTime;
    }
public function fromSqlTimeWithTimeZone($sqlTime, Provider $provider = null)
    {
        if ($sqlTime === null) {
            return null;
        }

        $this->setParameterProvider($provider);
        $phpTime = DateTime::createFromFormat($provider->getTimeWithTimeZoneFormat(), $sqlTime);

        if ($phpTime === false) {
            $phpTime = $this->parseUnknownDateTimeFormat($sqlTime);
        }

        return $phpTime;
    }
public function fromSqlTimeWithTimeZone ( $ sqlTime , Provider $ provider = null ) { if ( $ sqlTime === null ) { return null ; } $ this -> setParameterProvider ( $ provider ) ; $ phpTime = DateTime :: createFromFormat ( $ provider -> getTimeWithTimeZoneFormat ( ) , $ sqlTime ) ; if ( $ phpTime === false ) { $ phpTime = $ this -> parseUnknownDateTimeFormat ( $ sqlTime ) ; } return $ phpTime ; }
Converts an SQL time with time zone to a PHP date time

@param string $sqlTime The time to convert
@param Provider $provider The provider to convert from
@return DateTime|null The PHP time
@throws InvalidArgumentException Thrown if the input time couldn't be cast to a PHP time
Converts an SQL time with time zone to a PHP date time