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

/libcore/luni/src/test/java/libcore/java/sql/
H A DOldTimestampTest.java20 import java.sql.Timestamp;
29 Timestamp t1 = new Timestamp(Long.MIN_VALUE);
32 Timestamp t2 = new Timestamp(Long.MIN_VALUE + 1);
35 Timestamp t3 = new Timestamp(Long.MIN_VALUE + 807);
38 Timestamp t4 = new Timestamp(Long.MIN_VALUE + 808);
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;
2034 Timestamp[] timestamps = { new Timestamp(2007, 10, 17, 19, 06, 50, 23),
2035 new Timestamp(123) };
2109 Timestamp[] timestamps = { new Timestamp(2007, 10, 17, 19, 06, 50, 23),
2110 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/luni/src/main/java/java/security/
H A DTimestamp.java25 * {@code Timestamp} represents a signed time stamp. {@code Timestamp} is
28 public final class Timestamp implements Serializable { class in inherits:Serializable
40 * Constructs a new instance of {@code Timestamp} with the specified {@code
51 public Timestamp(Date timestamp, CertPath signerCertPath) { method in class:Timestamp
64 * Compares the specified object with this {@code Timestamp} for equality
66 * otherwise. The given object is equal to this {@code Timestamp}, if it is
67 * an instance of {@code Timestamp}, the two timestamps have an equal date
72 * Timestamp}.
74 * Timestamp}, otherwis
[all...]
H A DCodeSigner.java32 private Timestamp timestamp;
48 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) {
99 public Timestamp getTimestamp() {
/libcore/luni/src/main/java/java/sql/
H A DTimestamp.java31 * The {@code Timestamp} class consists of a regular date/time value, where only
35 * The addition of the nanosecond value field to the {@code Timestamp} object
37 * it extends. Users should be aware that {@code Timestamp} objects are not
45 public class Timestamp extends Date { class in inherits:Date
49 // The nanoseconds time value of the Timestamp
56 * Returns a {@code Timestamp} corresponding to the time specified by the
60 * @deprecated Use the constructor {@link #Timestamp(long)} instead.
81 public Timestamp(int theYear, int theMonth, int theDate, int theHour, method in class:Timestamp
92 * Returns a {@code Timestamp} object corresponding to the time represented
99 public Timestamp(lon method in class:Timestamp
[all...]
H A DCallableStatement.java682 * java.sql.Timestamp}.
687 * @return the parameter's value as a {@code java.sql.Timestamp}. A
692 * @see Timestamp
694 public Timestamp getTimestamp(int parameterIndex) throws SQLException;
698 * java.sql.Timestamp}. The JDBC driver uses the supplied {@code Calendar}
705 * used for creating the returned {@code Timestamp}
706 * @return the parameter's value as a {@code java.sql.Timestamp}. A
711 * @see Timestamp
713 public Timestamp getTimestamp(int parameterIndex, Calendar cal)
718 * java.sql.Timestamp}
[all...]
H A DSQLInput.java177 * java.sql.Timestamp}.
179 * @return the attribute as a {@code java.sql.Timestamp}. {@code null} if
183 * @see Timestamp
185 public Timestamp readTimestamp() throws SQLException;
H A DSQLOutput.java166 * Write a {@code java.sql.Timestamp} value into the output stream.
169 * the {@code Timestamp} value to write.
172 * @see Timestamp
174 public void writeTimestamp(Timestamp theTimestamp) throws SQLException;
H A DResultSet.java975 * java.sql.Timestamp} value.
984 public Timestamp getTimestamp(int columnIndex) throws SQLException;
988 * java.sql.Timestamp} value. The supplied Calendar is used when mapping
989 * the SQL {@code Timestamp} value to a Java {@code Timestamp} value.
1000 public Timestamp getTimestamp(int columnIndex, Calendar cal)
1005 * java.sql.Timestamp} value.
1014 public Timestamp getTimestamp(String columnName) throws SQLException;
1018 * java.sql.Timestamp} value. The supplied Calendar is used when mapping
1019 * the SQL {@code Timestamp} valu
[all...]
H A DPreparedStatement.java616 * Sets the value of a specified parameter to a supplied java.sql.Timestamp
623 * the java.sql.Timestamp value to which the parameter at {@code
628 public void setTimestamp(int parameterIndex, Timestamp theTimestamp)
633 * java.sql.Timestamp} value, using the supplied {@code Calendar}.
644 * the {@code java.sql.Timestamp} value to which the parameter at
651 * @see Timestamp
654 public void setTimestamp(int parameterIndex, Timestamp theTimestamp,
/libcore/luni/src/main/java/javax/sql/
H A DRowSet.java35 import java.sql.Timestamp;
1659 * to a supplied {@code java.sql.Timestamp}, converting it to an SQL {@code
1670 * @see java.sql.Timestamp
1672 public void setTimestamp(int parameterIndex, Timestamp theTimestamp)
1677 * to a supplied {@code java.sql.Timestamp}, converting it to an SQL {@code
1690 * @see java.sql.Timestamp
1692 public void setTimestamp(int parameterIndex, Timestamp theTimestamp,
1697 * supplied java.sql.Timestamp converting to an SQL TIMESTAMP value
1707 public void setTimestamp(String parameterName, Timestamp theTimestamp)
1712 * supplied java.sql.Timestamp convertin
[all...]

Completed in 1313 milliseconds