org.bson.types
Class BSONTimestamp

java.lang.Object
  extended by org.bson.types.BSONTimestamp

public class BSONTimestamp
extends Object

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


Constructor Summary
BSONTimestamp()
           
BSONTimestamp(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

BSONTimestamp

public BSONTimestamp()

BSONTimestamp

public BSONTimestamp(int time,
                     int i)
Method Detail

getTime

public int getTime()

getInc

public int getInc()

toString

public String toString()
Overrides:
toString in class Object