public function toSqlTimeWithTimeZone(DateTimeInterface $time, Provider $provider = null) : string
    {
        $this->setParameterProvider($provider);

        return $time->format($provider->getTimeWithTimeZoneFormat());
    }
public function toSqlTimeWithTimeZone(DateTimeInterface $time, Provider $provider = null) : string
    {
        $this->setParameterProvider($provider);

        return $time->format($provider->getTimeWithTimeZoneFormat());
    }
public function toSqlTimeWithTimeZone ( DateTimeInterface $ time , Provider $ provider = null ) : string { $ this -> setParameterProvider ( $ provider ) ; return $ time -> format ( $ provider -> getTimeWithTimeZoneFormat ( ) ) ; }
Converts a PHP date time with time zone to an SQL time

@param DateTimeInterface $time The date time to convert
@param Provider $provider The provider to convert to
@return string The SQL time suitable for database storage
Converts a PHP date time with time zone to an SQL time