Searched refs:Timestamp (Results 1 - 25 of 27) sorted by relevance

12

/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_sql_Timestamp.java27 * @summary Tests Timestamp encoding
31 import java.sql.Timestamp;
33 public final class java_sql_Timestamp extends AbstractTest<Timestamp> {
38 protected Timestamp getObject() {
39 Timestamp timestamp = new Timestamp(System.currentTimeMillis());
44 protected Timestamp getAnotherObject() {
45 return new Timestamp(0L);
/openjdk7/jdk/src/share/classes/java/security/
H A DTimestamp.java45 public final class Timestamp implements Serializable { class in inherits:Serializable
69 * Constructs a Timestamp.
75 public Timestamp(Date timestamp, CertPath signerCertPath) { method in class:Timestamp
125 if (obj == null || (!(obj instanceof Timestamp))) {
128 Timestamp that = (Timestamp)obj;
H A DCodeSigner.java55 private Timestamp timestamp;
73 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) {
95 public Timestamp getTimestamp() {
136 Timestamp thatTimestamp = that.getTimestamp();
/openjdk7/jdk/test/sun/tools/jstat/
H A DtimeStamp1.awk13 /^Timestamp S0 S1 E O P YGC YGCT FGC FGCT GCT $/ {
/openjdk7/jdk/src/share/classes/java/sql/
H A DTimestamp.java36 * A Timestamp also provides formatting and
39 * <p>The precision of a Timestamp object is calculated to be either:
43 * of characters in the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents the scale of the given Timestamp,
50 * separate. The <code>Timestamp.equals(Object)</code> method never returns
52 * that isn't an instance of <code>java.sql.Timestamp</code>,
54 * As a result, the <code>Timestamp.equals(Object)</code>
61 * Due to the differences between the <code>Timestamp</code> class
64 * <code>Timestamp</code> values generically as an instance of
66 * inheritance relationship between <code>Timestamp</code>
70 public class Timestamp extend class in inherits:java.util.Date
87 public Timestamp(int year, int month, int date, method in class:Timestamp
108 public Timestamp(long time) { method in class:Timestamp
[all...]
H A DSQLInput.java208 * Reads the next attribute in the stream and returns it as a <code>java.sql.Timestamp</code> object.
216 java.sql.Timestamp readTimestamp() throws SQLException;
H A DSQLOutput.java213 * Writes the next attribute to the stream as a java.sql.Timestamp object.
223 void writeTimestamp(java.sql.Timestamp x) throws SQLException;
H A DCallableStatement.java347 * <code>java.sql.Timestamp</code> object.
358 java.sql.Timestamp getTimestamp(int parameterIndex)
550 * <code>java.sql.Timestamp</code> object, using
552 * the <code>Timestamp</code> object.
571 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal)
1011 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
1026 void setTimestamp(String parameterName, java.sql.Timestamp x)
1274 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
1295 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal)
1521 * <code>java.sql.Timestamp</cod
[all...]
H A DPreparedStatement.java283 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
293 void setTimestamp(int parameterIndex, java.sql.Timestamp x)
658 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
676 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal)
H A DResultSet.java409 * a <code>java.sql.Timestamp</code> object in the Java programming language.
418 java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException;
695 * a <code>java.sql.Timestamp</code> object in the Java programming language.
704 java.sql.Timestamp getTimestamp(String columnLabel) throws SQLException;
1740 * Updates the designated column with a <code>java.sql.Timestamp</code>
1757 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
2129 * Updates the designated column with a <code>java.sql.Timestamp</code>
2146 void updateTimestamp(String columnLabel, java.sql.Timestamp x)
2697 * of this <code>ResultSet</code> object as a <code>java.sql.Timestamp</code> object
2706 * @return the column value as a <code>java.sql.Timestamp</cod
[all...]
/openjdk7/jdk/test/java/security/CodeSigner/
H A DSerialize.java32 import java.security.Timestamp;
50 CodeSigner cs = new CodeSigner(cp, new Timestamp(new Date(), cp));
/openjdk7/jdk/src/share/classes/javax/sql/
H A DRowSet.java846 * to the given <code>java.sql.Timestamp</code> value. The driver converts this to
854 void setTimestamp(int parameterIndex, java.sql.Timestamp x)
858 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
872 void setTimestamp(String parameterName, java.sql.Timestamp x)
1790 * with the given <code>java.sql.Timestamp</code> value. The driver will
1801 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal)
1805 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
1825 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal)
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSQLInputImpl.java467 * a <code>java.sql.Timestamp</code> object.
474 public java.sql.Timestamp readTimestamp() throws SQLException {
475 java.sql.Timestamp attrib = (java.sql.Timestamp)getNextAttribute();
H A DSQLOutputImpl.java285 * Writes a <code>java.sql.Timestamp</code> object in the Java programming
294 public void writeTimestamp(java.sql.Timestamp x) throws SQLException {
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/
H A DSyncResolverImpl.java1353 * <code>java.sql.Timestamp</code> object.
1363 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {
1713 * of the current row as a <code>java.sql.Timestamp</code> object.
1723 public java.sql.Timestamp getTimestamp(String columnName) throws SQLException {
2907 * <code>Timestamp</code> object.
2929 public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws SQLException {
3423 * <code>Timestamp</code> object.
3447 public void updateTimestamp(String columnName, java.sql.Timestamp x) throws SQLException {
4026 * of this <code>CachedRowSetImpl</code> object as a <code>java.sql.Timestamp</code>
4043 public java.sql.Timestamp getTimestam
[all...]
H A DCachedRowSetReader.java390 param[0] instanceof java.sql.Timestamp) {
H A DXmlReaderContentHandler.java1023 private java.sql.Timestamp getTimestampValue(String s) {
1024 return new java.sql.Timestamp(getLongValue(s));
H A DWebRowSetXmlWriter.java437 java.sql.Timestamp ts = caller.getTimestamp(idx);
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DCachedRowSetImpl.java2147 long sec = ((java.sql.Timestamp)value).getTime();
2210 long sec = ((java.sql.Timestamp)value).getTime();
2234 * <code>java.sql.Timestamp</code> object.
2244 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {
2270 return (java.sql.Timestamp)value;
2274 return new java.sql.Timestamp(sec);
2278 return new java.sql.Timestamp(sec);
2285 return ((java.sql.Timestamp)(tf.parse(value.toString())));
2710 * of the current row as a <code>java.sql.Timestamp</code> object.
2720 public java.sql.Timestamp getTimestam
[all...]
H A DJoinRowSetImpl.java1214 * <code>java.sql.Timestamp</code> object.
1224 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {
1231 * <code>java.sql.Timestamp</code> object.
1493 * of the current row as a <code>java.sql.Timestamp</code> object.
1503 public java.sql.Timestamp getTimestamp(String columnName) throws SQLException {
2591 * <code>Timestamp</code> object.
2613 public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws SQLException {
3108 * <code>Timestamp</code> object.
3132 public void updateTimestamp(String columnName, java.sql.Timestamp x) throws SQLException {
3666 * of this <code>JoinRowSetImpl</code> object as a <code>java.sql.Timestamp</cod
[all...]
H A DFilteredRowSetImpl.java1302 * <code>Timestamp</code> object.
1324 public void updateTimestamp(int columnIndex , Timestamp x) throws SQLException {
1344 * <code>Timestamp</code> object.
1368 public void updateTimestamp(String columnName , Timestamp x) throws SQLException {
H A DJdbcRowSetImpl.java723 param[0] instanceof java.sql.Timestamp) {
1099 * a <code>java.sql.Timestamp</code> object in the Java programming language.
1108 public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException {
1412 * a <code>java.sql.Timestamp</code> object.
1421 public java.sql.Timestamp getTimestamp(String columnName) throws SQLException {
2518 * Updates the designated column with a <code>java.sql.Timestamp</code>
2532 public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws SQLException {
2889 * Updates the designated column with a <code>java.sql.Timestamp</code>
2901 public void updateTimestamp(String columnName, java.sql.Timestamp x) throws SQLException {
3447 * <code>java.sql.Timestamp</cod
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DSignatureFileVerifier.java523 private Timestamp getTimestamp(SignerInfo info)
527 Timestamp timestamp = null;
555 new Timestamp(timestampTokenInfo.getDate(), tsaChain);
/openjdk7/jdk/src/share/classes/javax/sql/rowset/
H A DBaseRowSet.java215 * <code>Time</code>, or <code>Timestamp</code> object being set. As is true with other
2077 * <code>java.sql.Timestamp</code> value.
2094 * number <i>parameterIndex</i> being the <code>Timestamp</code> object that was
2104 * @param x a <code>java.sql.Timestamp</code> object
2109 public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException {
3049 * <code>java.sql.Timestamp</code> object. The driver converts this
3075 * is the given <code>java.sql.Timestamp</code> object.
3093 * @param x a <code>java.sql.Timestamp</code> object
3100 public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException {
3456 * Sets the designated parameter to the given <code>java.sql.Timestamp</cod
[all...]
H A DRowSetMetaDataImpl.java885 className = java.sql.Timestamp.class.getName();

Completed in 165 milliseconds

12