PHP 클래스 Google\Cloud\BigQuery\Timestamp

Example: $timestamp = $bigQuery->timestamp(new \DateTime('2003-02-05 11:15:02.421827Z'));
상속: implements Google\Cloud\BigQuery\ValueInterface
파일 보기 프로젝트 열기: GoogleCloudPlatform/gcloud-php 1 사용 예제들

공개 메소드들

메소드 설명
__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 timestamp 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