Home
last modified time | relevance | path

Searched refs:NanosecondsToTimestamp (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Dtime_util_test.cc61 Timestamp time = TimeUtil::NanosecondsToTimestamp(-1); in TEST()
69 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(0))); in TEST()
71 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000000))); in TEST()
73 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10000))); in TEST()
75 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(10))); in TEST()
181 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(1))); in TEST()
183 TimeUtil::ToString(TimeUtil::NanosecondsToTimestamp(-1))); in TEST()
198 1, TimeUtil::TimestampToNanoseconds(TimeUtil::NanosecondsToTimestamp(1))); in TEST()
200 TimeUtil::NanosecondsToTimestamp(-1))); in TEST()
214 TimeUtil::NanosecondsToTimestamp(1999))); in TEST()
[all …]
Dtime_util.h123 static Timestamp NanosecondsToTimestamp(int64 nanos);
Dtime_util.cc285 Timestamp TimeUtil::NanosecondsToTimestamp(int64 nanos) { in NanosecondsToTimestamp() function in google::protobuf::util::TimeUtil