public java . sql . Timestamp asJavaTimestamp ( ) { java . sql . Timestamp result = new java . sql . Timestamp ( m_date . getTime ( ) ) ; result . setNanos ( result . getNanos ( ) + m_usecs * 1000 ) ; return result ; }
Retrieve a properly typed copy of the Java Timestamp for the VoltDB TimeStamp . The returned Timestamp is a copy ; this object will not be affected by modifications of the returned instance .