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

1 2 3 4 5 6 7 8

  /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...]
  /external/protobuf/src/google/protobuf/
timestamp.pb.cc 2 // source: google/protobuf/timestamp.proto
5 #include <google/protobuf/timestamp.pb.h>
36 "google/protobuf/timestamp.proto");
40 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, seconds_),
41 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, nanos_),
46 Timestamp::default_instance_,
51 sizeof(Timestamp),
52 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _internal_metadata_),
53 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _is_default_instance_));
67 Timestamp_descriptor_, &Timestamp::default_instance())
    [all...]
timestamp.pb.h 2 // source: google/protobuf/timestamp.proto
40 class Timestamp;
44 class LIBPROTOBUF_EXPORT Timestamp : public ::google::protobuf::Message {
46 Timestamp();
47 virtual ~Timestamp();
49 Timestamp(const Timestamp& from);
51 inline Timestamp& operator=(const Timestamp& from) {
61 static const Timestamp& default_instance()
    [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...]
  /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 {
137 Timestamp theTimestamp = new Timestamp(TIME_TEST1);
138 // The Timestamp should have been created
141 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1);
174 Timestamp theTimestamp = new Timestamp(element[0], element[1],
176 assertNotNull("Timestamp not generated: ", theTimestamp)
    [all...]
  /external/protobuf/src/google/protobuf/util/
time_util.h 44 #include <google/protobuf/timestamp.pb.h>
51 typedef google::protobuf::Timestamp Timestamp;
55 // The min/max Timestamp/Duration values we support.
64 // Converts Timestamp to/from RFC 3339 date string format.
69 // Note that Timestamp can only represent time from
71 // a Timestamp outside of this range is undefined behavior.
79 static string ToString(const Timestamp& timestamp);
80 static bool FromString(const string& value, Timestamp* timestamp)
    [all...]
time_util.cc 38 #include <google/protobuf/timestamp.pb.h>
44 using google::protobuf::Timestamp;
62 Timestamp CreateNormalized(int64 seconds, int64 nanos) {
68 // For Timestamp nanos should be in the range [0, 999999999]
75 Timestamp result;
145 string TimeUtil::ToString(const Timestamp& timestamp) {
146 return FormatTime(timestamp.seconds(), timestamp.nanos());
149 bool TimeUtil::FromString(const string& value, Timestamp* timestamp)
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/
time_util.h 44 #include <google/protobuf/timestamp.pb.h>
51 typedef google::protobuf::Timestamp Timestamp;
55 // The min/max Timestamp/Duration values we support.
64 // Converts Timestamp to/from RFC 3339 date string format.
69 // Note that Timestamp can only represent time from
71 // a Timestamp outside of this range is undefined behavior.
79 static string ToString(const Timestamp& timestamp);
80 static bool FromString(const string& value, Timestamp* timestamp)
    [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
timestamp.pb.h 2 // source: google/protobuf/timestamp.proto
40 class Timestamp;
44 class LIBPROTOBUF_EXPORT Timestamp : public ::google::protobuf::Message {
46 Timestamp();
47 virtual ~Timestamp();
49 Timestamp(const Timestamp& from);
51 inline Timestamp& operator=(const Timestamp& from) {
61 static const Timestamp& default_instance()
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
JavaBeanWithSqlTimestamp.java 19 private java.sql.Timestamp timestamp; field in class:JavaBeanWithSqlTimestamp
22 public java.sql.Timestamp getTimestamp() {
23 return timestamp;
26 public void setTimestamp(java.sql.Timestamp timestamp) {
27 this.timestamp = timestamp;
JavaBeanTimeStampTest.java 19 import java.sql.Timestamp;
28 Timestamp stamp = new Timestamp(1000000000000L);
48 Timestamp stamp = new Timestamp(1000000000000L);
JavaBeanWithNullValues.java 18 import java.sql.Timestamp;
29 private Timestamp timestamp; field in class:JavaBeanWithNullValues
91 public Timestamp getTimestamp() {
92 return timestamp;
95 public void setTimestamp(Timestamp timestamp) {
96 this.timestamp = timestamp;
  /libcore/ojluni/src/main/java/java/security/
Timestamp.java 36 * This class encapsulates information about a signed timestamp.
38 * It includes the timestamp's date and time as well as information about the
39 * Timestamping Authority (TSA) which generated and signed the timestamp.
45 public final class Timestamp implements Serializable {
50 * The timestamp's date and time
54 private Date timestamp; field in class:Timestamp
64 * Hash code for this timestamp.
69 * Constructs a Timestamp.
71 * @param timestamp is the timestamp's date and time. It must not be null
    [all...]
CodeSigner.java 51 * The signature timestamp.
55 private Timestamp timestamp; field in class:CodeSigner
67 * @param timestamp A signature timestamp.
68 * If {@code null} then no timestamp was generated
73 public CodeSigner(CertPath signerCertPath, Timestamp timestamp) {
78 this.timestamp = timestamp;
    [all...]
  /external/llvm/tools/dsymutil/
BinaryHolder.h 57 GetArchiveMemberBuffers(StringRef Filename, sys::TimeValue Timestamp);
65 MapArchiveAndGetMemberBuffers(StringRef Filename, sys::TimeValue Timestamp);
77 GetMemoryBuffersForFile(StringRef Filename, sys::TimeValue Timestamp);
94 sys::TimeValue Timestamp = sys::TimeValue::PosixZeroTime());
100 sys::TimeValue Timestamp = sys::TimeValue::PosixZeroTime()) {
101 auto ErrOrObjFile = GetObjectFiles(Filename, Timestamp);
BinaryHolder.cpp 46 sys::TimeValue Timestamp) {
51 if (auto ErrOrArchiveMembers = GetArchiveMemberBuffers(Filename, Timestamp))
58 MapArchiveAndGetMemberBuffers(Filename, Timestamp))
90 sys::TimeValue Timestamp) {
109 if (Timestamp != sys::TimeValue::PosixZeroTime() &&
110 Timestamp != Child.getLastModified()) {
112 outs() << "\tmember had timestamp mismatch.\n";
135 sys::TimeValue Timestamp) {
166 return GetArchiveMemberBuffers(Filename, Timestamp);
183 BinaryHolder::GetObjectFiles(StringRef Filename, sys::TimeValue Timestamp) {
    [all...]
  /libcore/ojluni/src/main/java/java/sql/
Timestamp.java 32 * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.
34 * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing
36 * A Timestamp also provides formatting and
37 * parsing operations to support the JDBC escape syntax for timestamp values.
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> clas
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
Timestamp.cs 2 // source: google/protobuf/timestamp.proto
12 /// <summary>Holder for reflection information generated from google/protobuf/timestamp.proto</summary>
17 /// <summary>File descriptor for google/protobuf/timestamp.proto</summary>
35 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.Timestamp.Parser, new[]{ "Seconds", "Nanos" }, null, null, null)
43 /// A Timestamp represents a point in time independent of any time zone
55 /// Example 1: Compute Timestamp from POSIX `time()`.
57 /// Timestamp timestamp;
58 /// timestamp.set_seconds(time(NULL))
    [all...]
  /external/golang-protobuf/ptypes/timestamp/
timestamp.pb.go 2 // source: github.com/golang/protobuf/ptypes/timestamp/timestamp.proto
5 Package timestamp is a generated protocol buffer package.
8 github.com/golang/protobuf/ptypes/timestamp/timestamp.proto
11 Timestamp
13 package timestamp package
30 // A Timestamp represents a point in time independent of any time zone
44 // Example 1: Compute Timestamp from POSIX `time()`.
46 // Timestamp timestamp
    [all...]
  /external/golang-protobuf/ptypes/
timestamp.go 34 // This file implements operations on google.protobuf.Timestamp.
41 tspb "github.com/golang/protobuf/ptypes/timestamp"
45 // Seconds field of the earliest valid Timestamp.
48 // Seconds field just after the latest valid Timestamp.
53 // validateTimestamp determines whether a Timestamp is valid.
54 // A valid timestamp represents a time in the range
58 // If the Timestamp is valid, validateTimestamp returns nil.
62 // Every valid Timestamp can be represented by a time.Time, but the converse is not true.
63 func validateTimestamp(ts *tspb.Timestamp) error {
65 return errors.New("timestamp: nil Timestamp"
    [all...]
timestamp_test.go 40 tspb "github.com/golang/protobuf/ptypes/timestamp"
44 ts *tspb.Timestamp
48 // The timestamp representing the Unix epoch date.
49 {&tspb.Timestamp{Seconds: 0, Nanos: 0}, true, utcDate(1970, 1, 1)},
50 // The smallest representable timestamp.
51 {&tspb.Timestamp{Seconds: math.MinInt64, Nanos: math.MinInt32}, false,
53 // The smallest representable timestamp with non-negative nanos.
54 {&tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}, false, time.Unix(math.MinInt64, 0).UTC()},
55 // The earliest valid timestamp.
56 {&tspb.Timestamp{Seconds: minValidSeconds, Nanos: 0}, true, utcDate(1, 1, 1)}
    [all...]
  /system/connectivity/wifilogd/
os.h 46 struct Timestamp {
70 virtual Timestamp GetTimestamp(clockid_t clock_id) const;
  /external/protobuf/java/util/src/main/java/com/google/protobuf/util/
TimeUtil.java 34 import com.google.protobuf.Timestamp;
44 * Utilities to help create/manipulate Timestamp/Duration
47 // Timestamp for "0001-01-01T00:00:00Z"
50 // Timestamp for "9999-12-31T23:59:59Z"
73 // backwards to year one) for timestamp formating.
82 * Convert Timestamp to RFC 3339 date string format. The output will always
84 * represent the exact value. Note that Timestamp can only represent time
90 * @return The string representation of the given timestamp.
91 * @throws IllegalArgumentException if the given timestamp is not in the
94 public static String toString(Timestamp timestamp
    [all...]
  /external/protobuf/java/util/src/test/java/com/google/protobuf/util/
TimeUtilTest.java 34 import com.google.protobuf.Timestamp;
47 Timestamp start = TimeUtil.parseTimestamp("0001-01-01T00:00:00Z");
48 Timestamp end = TimeUtil.parseTimestamp("9999-12-31T23:59:59.999999999Z");
56 Timestamp value = TimeUtil.parseTimestamp("1970-01-01T00:00:00Z");
63 // Nano part is in the range of [0, 999999999] for Timestamp.
67 value = Timestamp.newBuilder().setNanos(10).build();
69 value = Timestamp.newBuilder().setNanos(10000).build();
71 value = Timestamp.newBuilder().setNanos(10000000).build();
86 private final Timestamp[] values;
87 public ParseTimestampThread(String[] strings, Timestamp[] values)
370 Timestamp timestamp = local
    [all...]
  /system/connectivity/wifilogd/tests/
mock_os.h 36 MOCK_CONST_METHOD1(GetTimestamp, Timestamp(clockid_t clock_id));

Completed in 1047 milliseconds

1 2 3 4 5 6 7 8