Contents
- Building PHP Extension page
- Features page
-
API docs index
-
Cassandra namespace
- Cluster namespace
- Exception namespace
- RetryPolicy namespace
- SSLOptions namespace
- TimestampGenerator namespace
- Type namespace
- Future interface
- Numeric interface
- RetryPolicy interface
- BatchStatement class
- Bigint class
- Blob class
- Collection class
- Table interface
- Custom class
- Date class
- Decimal class
- DefaultAggregate class
- DefaultCluster class
- DefaultColumn class
- DefaultFunction class
- DefaultIndex class
- DefaultMaterializedView class
- ExecutionOptions class
- Float class
- FutureClose class
- FuturePreparedStatement class
- FutureSession class
- Map class
- MaterializedView class
- PreparedStatement class
- Set class
- Smallint class
- SSLOptions class
- Tinyint class
- Aggregate interface
- Cluster interface
- Exception interface
- Function interface
- Index interface
- FutureRows class
- Varint class
- Keyspace interface
- Schema interface
- TimestampGenerator interface
- DefaultKeyspace class
- DefaultSchema class
- DefaultSession class
- DefaultTable class
- Duration class
- Inet class
-
Time class
- Timestamp class
- Timeuuid class
- Tuple class
- Value interface
- Type class
- Column interface
- Statement interface
- UuidInterface interface
- FutureValue class
- SimpleStatement class
- UserTypeValue class
- Uuid class
- Session interface
- Rows class
- Cassandra class
-
Cassandra namespace
A PHP representation of the CQL time
type.
Implements
Methods
Creates a new Cassandra\Time
object
- Parameters:
Name Type Details $nanoseconds int
|string
Number of nanoseconds since last microsecond
Cassandra\Type
type
( )The type of this date.
- Returns:
Type Details Cassandra\Type
- Returns:
Type Details string
this date in string format:
Cassandra\Time
(nanoseconds=$nanoseconds)
- Static
- This method is static
- Parameters:
Name Type Details $datetime DateTime
- Returns:
Type Details Cassandra\Time