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

/libcore/luni/src/test/java/libcore/java/sql/
H A DTimestampTest.java20 import java.sql.Timestamp;
27 // Timestamp uses the current default timezone in toString() to convert to
32 Timestamp t1 = new Timestamp(Long.MIN_VALUE);
35 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1);
38 Timestamp t3 = new Timestamp(Long.MIN_VALUE + 807);
41 Timestamp t4 = new Timestamp(Lon
[all...]
H A DOldResultSetGetterTests.java30 import java.sql.Timestamp;
134 java.sql.Timestamp.class, // Types.TIMESTAMP,
1161 List<Timestamp> times = new LinkedList<Timestamp>();
1177 Timestamp t2 = new Timestamp(millis);
1190 Timestamp t3 = new Timestamp(millis);
1195 Timestamp timeRes = res.getTimestamp(i);
1218 List<Timestamp> time
[all...]
H A DOldPreparedStatementTest.java37 import java.sql.Timestamp;
2032 Timestamp[] timestamps = { new Timestamp(2007, 10, 17, 19, 06, 50, 23),
2033 new Timestamp(123) };
2107 Timestamp[] timestamps = { new Timestamp(2007, 10, 17, 19, 06, 50, 23),
2108 new Timestamp(123) };
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DTimestampTest.java25 import java.security.Timestamp;
34 * Tests for <code>Timestamp</code> class fields and methods
47 new Timestamp(null, cpath);
53 new Timestamp(now, null);
59 Timestamp timestamp = new Timestamp(now, cpath);
68 Timestamp one = new Timestamp(now, cpath);
69 Timestamp two = new Timestamp(no
[all...]
H A DCodeSignerTest.java26 import java.security.Timestamp;
41 private Timestamp ts = new Timestamp(now, cpath);
/libcore/ojluni/src/main/java/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();
/libcore/ojluni/src/main/java/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.java348 * <code>java.sql.Timestamp</code> object.
359 java.sql.Timestamp getTimestamp(int parameterIndex)
551 * <code>java.sql.Timestamp</code> object, using
553 * the <code>Timestamp</code> object.
572 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal)
1012 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
1027 void setTimestamp(String parameterName, java.sql.Timestamp x)
1275 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
1296 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal)
1522 * <code>java.sql.Timestamp</cod
[all...]
H A DPreparedStatement.java284 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
294 void setTimestamp(int parameterIndex, java.sql.Timestamp x)
660 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
678 void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal)
H A DResultSet.java411 * a <code>java.sql.Timestamp</code> object in the Java programming language.
420 java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException;
698 * a <code>java.sql.Timestamp</code> object in the Java programming language.
707 java.sql.Timestamp getTimestamp(String columnLabel) throws SQLException;
1743 * Updates the designated column with a <code>java.sql.Timestamp</code>
1760 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
2132 * Updates the designated column with a <code>java.sql.Timestamp</code>
2149 void updateTimestamp(String columnLabel, java.sql.Timestamp x)
2700 * of this <code>ResultSet</code> object as a <code>java.sql.Timestamp</code> object
2709 * @return the column value as a <code>java.sql.Timestamp</cod
[all...]
/libcore/ojluni/src/main/java/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)
/libcore/ojluni/src/main/java/sun/security/util/
H A DSignatureFileVerifier.java523 private Timestamp getTimestamp(SignerInfo info)
527 Timestamp timestamp = null;
555 new Timestamp(timestampTokenInfo.getDate(), tsaChain);
/libcore/
H A Dopenjdk_java_files.mk567 ojluni/src/main/java/java/security/Timestamp.java \
617 ojluni/src/main/java/java/sql/Timestamp.java \

Completed in 300 milliseconds