/libcore/luni/src/test/java/libcore/java/sql/ |
OldTimestampTest.java | 20 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);
|
OldResultSetGetterTests.java | 30 import java.sql.Timestamp; 134 java.sql.Timestamp.class, // Types.TIMESTAMP, 166 + " dateVal DATE, " + " timeVal TIME, " + " TS TIMESTAMP, " 701 * "TIMESTAMP", "DATETIME", "TINYBLOB", "BLOB", "MEDIUMBLOB", 708 "TIME", "TIMESTAMP", "DATETIME", "BLOB", "BLOB", "BLOB", 922 // getTime should return Time value for a TIMESTAMP type but returns null 957 // Compatibility Test: TIMESTAMP value 978 // getTime on TIMESTAMP value fails: returns null [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 25 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); local 60 assertEquals("not expected value", now, timestamp.getTimestamp()); 61 assertEquals("not expected cert path", cpath, timestamp.getSignerCertPath()); 68 Timestamp one = new Timestamp(now, cpath) [all...] |
CodeSignerTest.java | 26 import java.security.Timestamp; 41 private Timestamp ts = new Timestamp(now, cpath); 56 * timestamp can be null
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
TimestampTest.java | 33 * Tests for <code>Timestamp</code> class fields and methods 47 new Timestamp(null, cpath); 53 new Timestamp(now, null); 64 Timestamp one = new Timestamp(now, cpath); 65 Timestamp two = new Timestamp(now, cpath); 73 Timestamp two1 = new Timestamp(new Date(9999), cpath); 79 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath) [all...] |
CodeSignerTest.java | 41 private Timestamp ts = new Timestamp(now, cpath); 56 * timestamp can be null
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimestampTest.java | 20 import java.sql.Timestamp; 29 * JUnit Testcase for the java.sql.Timestamp class 35 static class MockTimestamp extends Timestamp{ 140 Timestamp theTimestamp = new Timestamp(TIME_TEST1); 141 // The Timestamp should have been created 144 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1); 177 Timestamp theTimestamp = new Timestamp(element[0], element[1], 179 assertNotNull("Timestamp not generated: ", theTimestamp) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
CodeSignerTest.java | 25 import java.security.Timestamp; 45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
|
TimestampTest.java | 24 import java.security.Timestamp; 33 * Serialization tests for <code>Timestamp</code> 44 return new Object[] { new Timestamp(new Date(1146633251341L), cpath) };
|
/libcore/luni/src/main/java/java/security/ |
Timestamp.java | 25 * {@code Timestamp} represents a signed time stamp. {@code Timestamp} is 28 public final class Timestamp implements Serializable { 32 private Date timestamp; field in class:Timestamp 40 * Constructs a new instance of {@code Timestamp} with the specified {@code 41 * timestamp} and the given certificate path. 43 * @param timestamp 48 * if {@code timestamp} is {@code null} or if {@code 51 public Timestamp(Date timestamp, CertPath signerCertPath) [all...] |
CodeSigner.java | 32 private Timestamp timestamp; field in class:CodeSigner 42 * @param timestamp 48 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) { 53 this.timestamp = timestamp; 78 return timestamp == null ? that.timestamp == null : timestamp [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
CodeSigner_ImplTest.java | 25 import java.security.Timestamp; 41 private Timestamp ts = new Timestamp(now, cpath);
|
Timestamp_ImplTest.java | 24 import java.security.Timestamp; 34 * Tests for <code>Timestamp</code> class fields and methods 47 assertTrue(new Timestamp(now, cpath).hashCode() == (now.hashCode() ^ cpath
|
/libcore/luni/src/main/java/java/sql/ |
Timestamp.java | 27 * A Java representation of the SQL {@code TIMESTAMP} type. It provides the 28 * capability of representing the SQL {@code TIMESTAMP} nanosecond value, in 31 * 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 { 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)}. 74 * which defines the nanosecond value of the timestamp specifie [all...] |
CallableStatement.java | 682 * Returns the indexed parameter's {@code TIMESTAMP} value as a {@code 683 * java.sql.Timestamp}. 688 * @return the parameter's value as a {@code java.sql.Timestamp}. A 693 * @see Timestamp 695 public Timestamp getTimestamp(int parameterIndex) throws SQLException; 698 * Returns the indexed parameter's {@code TIMESTAMP} value as a {@code 699 * java.sql.Timestamp}. The JDBC driver uses the supplied {@code Calendar} 706 * used for creating the returned {@code Timestamp} 707 * @return the parameter's value as a {@code java.sql.Timestamp}. A 712 * @see Timestamp [all...] |
SQLInput.java | 177 * 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;
|
SQLOutput.java | 166 * 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;
|
ResultSet.java | [all...] |
PreparedStatement.java | 616 * 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}. 636 * TIMESTAMP} value, which allows it to use a custom timezone - otherwise 644 * the {@code java.sql.Timestamp} value to which the parameter at 648 * TIMESTAMP} value 651 * @see Timestamp 654 public void setTimestamp(int parameterIndex, Timestamp theTimestamp, [all...] |
/libcore/luni/src/main/java/javax/sql/ |
RowSet.java | 35 import java.sql.Timestamp; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
SQL_Results.java | 17 import java.sql.Timestamp; 186 Timestamp timestamp = new Timestamp(lastBuildTime+(5*3600L*1000)); // create a time-stamp 5h after the given build time local 187 this.queryScenarioTimestampDataPoints.setTimestamp(2, timestamp);
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
Impl_RowSet.java | 37 import java.sql.Timestamp; 227 public void setTimestamp(int parameterIndex, Timestamp theTimestamp, 231 public void setTimestamp(int parameterIndex, Timestamp theTimestamp) 505 public Timestamp getTimestamp(int columnIndex, Calendar cal) 510 public Timestamp getTimestamp(int columnIndex) throws SQLException { 514 public Timestamp getTimestamp(String columnName, Calendar cal) 519 public Timestamp getTimestamp(String columnName) throws SQLException { 754 public void updateTimestamp(int columnIndex, Timestamp x) 758 public void updateTimestamp(String columnName, Timestamp x) 1251 public void setTimestamp(String parameterName, Timestamp theTimestamp [all...] |
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCPreparedStatement.java | 264 public void setTimestamp(int parameterIndex, java.sql.Timestamp x) 477 public void setTimestamp(int parameterIndex, java.sql.Timestamp x, 582 public void setTimestamp(String parameterName, java.sql.Timestamp val) 633 public void setTimestamp(String parameterName, java.sql.Timestamp val, 688 public java.sql.Timestamp getTimestamp(String parameterName) 767 public java.sql.Timestamp getTimestamp(String parameterName, Calendar cal) 772 public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal)
|
JDBCResultSet.java | 352 public java.sql.Timestamp getTimestamp(int columnIndex) 357 private java.sql.Timestamp internalGetTimestamp(int columnIndex, 368 return new java.sql.Timestamp(SQLite.Database.long_from_julian(lastg)); 370 return java.sql.Timestamp.valueOf(lastg); 374 return java.sql.Timestamp.valueOf(lastg); 376 return new java.sql.Timestamp(SQLite.Database.long_from_julian(lastg)); 385 public java.sql.Timestamp getTimestamp(String columnName) 391 public java.sql.Timestamp getTimestamp(int columnIndex, 397 public java.sql.Timestamp getTimestamp(String columnName, 1108 public void updateTimestamp(int colIndex, java.sql.Timestamp t [all...] |
/external/stressapptest/src/ |
sattypes.h | 51 inline const char* Timestamp() {
|