HomeSort by relevance Sort by last modified time
    Searched refs:Timestamp (Results 1 - 25 of 62) sorted by null

1 2 3

  /libcore/luni/src/test/java/libcore/java/sql/
TimestampTest.java 20 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(Long.MIN_VALUE + 808)
149 Timestamp timestamp = new Timestamp(0); local
    [all...]
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 34 * 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 42 private Timestamp ts = new Timestamp(now, cpath);
57 * 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
34 static class MockTimestamp extends Timestamp {
139 Timestamp theTimestamp = new Timestamp(TIME_TEST1);
140 // The Timestamp should have been created
143 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1);
176 Timestamp theTimestamp = new Timestamp(element[0], element[1],
178 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;
44 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
TimestampTest.java 24 import java.security.Timestamp;
33 * Serialization tests for <code>Timestamp</code>
43 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
46 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
472 Timestamp timestamp = new Timestamp(date.getTime()); local
    [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/clang/include/clang/Frontend/
SerializedDiagnosticReader.h 103 unsigned 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...]

Completed in 815 milliseconds

1 2 3