PHP Класс Google\Cloud\BigQuery\Time

Example: $time = $bigQuery->time(new \DateTime('12:15:00.482172'));
Наследование: implements Google\Cloud\BigQuery\ValueInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( DateTimeInterface $value )
__toString ( ) : string Format the value as a string.
formatAsString ( ) : string Format the value as a string.
get ( ) : DateTimeInterface Get the underlying \DateTimeInterface implementation.
type ( ) : string Get the type.

Описание методов

__construct() публичный Метод

public __construct ( DateTimeInterface $value )
$value DateTimeInterface The time value.

__toString() публичный Метод

Format the value as a string.
public __toString ( ) : string
Результат string

formatAsString() публичный Метод

Format the value as a string.
public formatAsString ( ) : string
Результат string

get() публичный Метод

Get the underlying \DateTimeInterface implementation.
public get ( ) : DateTimeInterface
Результат DateTimeInterface

type() публичный Метод

Get the type.
public type ( ) : string
Результат string