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.java349 * <code>java.sql.Timestamp</code> object.
360 java.sql.Timestamp getTimestamp(int parameterIndex)
552 * <code>java.sql.Timestamp</code> object, using
554 * the <code>Timestamp</code> object.
573 java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal)
1013 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value.
1028 void setTimestamp(String parameterName, java.sql.Timestamp x)
1276 * Sets the designated parameter to the given <code>java.sql.Timestamp</code> value,
1297 void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal)
1523 * <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.java412 * a <code>java.sql.Timestamp</code> object in the Java programming language.
421 java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException;
701 * a <code>java.sql.Timestamp</code> object in the Java programming language.
710 java.sql.Timestamp getTimestamp(String columnLabel) throws SQLException;
1747 * Updates the designated column with a <code>java.sql.Timestamp</code>
1764 void updateTimestamp(int columnIndex, java.sql.Timestamp x)
2136 * Updates the designated column with a <code>java.sql.Timestamp</code>
2153 void updateTimestamp(String columnLabel, java.sql.Timestamp x)
2704 * of this <code>ResultSet</code> object as a <code>java.sql.Timestamp</code> object
2713 * @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/pkcs/
H A DSignerInfo.java44 import java.security.Timestamp;
93 Timestamp timestamp;
553 public Timestamp getTimestamp()
588 timestamp = new Timestamp(tsTokenInfo.getDate(), tsaChain);
603 throw new SignatureException("Timestamp token digest check failed. " +
/libcore/
H A Dopenjdk_java_files.mk687 ojluni/src/main/java/java/security/Timestamp.java \
737 ojluni/src/main/java/java/sql/Timestamp.java \

Completed in 285 milliseconds