Constructor Timestamp(long time)
Member of:
java.sql.Timestamp
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
this.requirementStatusDate = new java.sql.Timestamp( (new java.util.Date()).getTime() );
2
setLastModifiedOn(new java.sql.Timestamp( (new java.util.Date()).getTime()));
3
this.timeStamp = new Timestamp(new Date().getTime());
4
result = new Timestamp(time);
5
java.sql.Timestamp sqlTimestamp = new java.sql.Timestamp(value.getTime());
6
java.sql.Timestamp sqlTimestamp = new java.sql.Timestamp(value.getTime());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.