PHP 클래스 Cassandra\Time

상속: implements cassandra\Value
파일 보기 프로젝트 열기: datastax/php-driver

공개 메소드들

메소드 설명
__construct ( integer | string $nanoseconds ) Creates a new Time object
__toString ( ) : string
nanoseconds ( ) : integer
now ( ) : Time Creates a new Time object with the current time.
type ( ) : cassandra\Type The type of this date.

메소드 상세

__construct() 공개 메소드

Creates a new Time object
public __construct ( integer | string $nanoseconds )
$nanoseconds integer | string Number of nanoseconds since last microsecond

__toString() 공개 메소드

public __toString ( ) : string
리턴 string this date in string format: Cassandra\Time(nanoseconds=$nanoseconds)

nanoseconds() 공개 메소드

public nanoseconds ( ) : integer
리턴 integer number of nanoseconds since the last full microsecond since the last full second since the last full minute since the last full hour since midnight

now() 공개 정적인 메소드

Creates a new Time object with the current time.
public static now ( ) : Time
리턴 Time

type() 공개 메소드

The type of this date.
public type ( ) : cassandra\Type
리턴 cassandra\Type