Method | Description | |
---|---|---|
__construct ( integer $timestamp = null ) | Creates a timeuuid from a given timestamp or current time. | |
__toString ( ) : string | Returns this timeuuid as string. | |
time ( ) : integer | Unix timestamp. | |
toDateTime ( ) : DateTime | Converts current timeuuid to PHP DateTime. | |
type ( ) : cassandra\Type | The type of this timeuuid. | |
uuid ( ) : string | Returns this timeuuid as string. | |
version ( ) : integer | Returns the version of this timeuuid. |
public __construct ( integer $timestamp = null ) | ||
$timestamp | integer | Unix timestamp |
public __toString ( ) : string | ||
return | string | timeuuid |
public toDateTime ( ) : DateTime | ||
return | DateTime | PHP representation |
public type ( ) : cassandra\Type | ||
return | cassandra\Type |