com.mongodb
Class DBTimestamp

java.lang.Object
  extended by com.mongodb.DBTimestamp

public class DBTimestamp
extends Object

this is used for internal increment values. for storing normal dates in MongoDB, you should use java.util.Date


Constructor Summary
DBTimestamp()
           
DBTimestamp(int time, int i)
           
 
Method Summary
 int getInc()
           
 int getTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBTimestamp

public DBTimestamp()

DBTimestamp

public DBTimestamp(int time,
                   int i)
Method Detail

getTime

public int getTime()

getInc

public int getInc()

toString

public String toString()
Overrides:
toString in class Object