/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)} instead. 74 * which defines the nanosecond value of the timestamp specifie [all...] |
CallableStatement.java | 681 * Returns the indexed parameter's {@code TIMESTAMP} value as a {@code 682 * 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; 697 * Returns the indexed parameter's {@code TIMESTAMP} value as a {@code 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 [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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 39 Timestamp = datetime.datetime 48 return Timestamp(*time.localtime(ticks)[:6]) 82 register_converter("timestamp", convert_timestamp)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
dbapi2.py | 39 Timestamp = datetime.datetime 48 return Timestamp(*time.localtime(ticks)[:6]) 82 register_converter("timestamp", convert_timestamp)
|
/libcore/luni/src/main/java/javax/sql/ |
RowSet.java | 35 import java.sql.Timestamp; [all...] |
/external/chromium_org/net/tools/quic/benchmark/ |
run_client.py | 30 def Timestamp(datetm=None): 31 """Get the timestamp in microseconds. 33 datetm: the date and time to be converted to timestamp. 36 The timestamp in microseconds. 40 timestamp = (diff.days * 86400 + diff.seconds) * 1000000 + diff.microseconds 41 return timestamp 103 start_time = Timestamp() 108 end_time = Timestamp()
|
/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...] |