Class: Time

### Home Classes Methods

### In Files

- lib/cassandra/time.rb

### Parent

Object

### Methods

- ::stamp
- #stamp

### Files

- CHANGELOG
- LICENSE
- Makefile

### Class/Module Index

Quicksearch

- Cassandra
- Cassandra::Batch
- Cassandra::ColumnFamily
- Cassandra::Comparable
- Cassandra::Composite
- Cassandra::Consistency
- Cassandra::Constants
- Cassandra::DynamicComposite
- Cassandra::Helpers
- Cassandra::Keyspace
- Cassandra::Long
- Cassandra::Mock
- CassandraThrift
- CassandraThrift::Cassandra
- CassandraThrift::Cassandra::Client
- SimpleUUID
- SimpleUUID::UUID
- Array
- Time

No matching classes.

# Time

### Public Class Methods

stamp() click to toggle source

    # File lib/cassandra/time.rb, line 3
    def self.stamp
      Time.now.stamp
    end

### Public Instance Methods

stamp() click to toggle source

    # File lib/cassandra/time.rb, line 7
    def stamp
      to_i * 1_000_000 + usec
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.