Searched refs:MillisecondsToDuration (Results 1 – 3 of 3) sorted by relevance
103 EXPECT_EQ("0.010s", TimeUtil::ToString(TimeUtil::MillisecondsToDuration(10))); in TEST()142 EXPECT_EQ("0.001s", TimeUtil::ToString(TimeUtil::MillisecondsToDuration(1))); in TEST()144 TimeUtil::ToString(TimeUtil::MillisecondsToDuration(-1))); in TEST()161 1, TimeUtil::DurationToMilliseconds(TimeUtil::MillisecondsToDuration(1))); in TEST()163 TimeUtil::MillisecondsToDuration(-1))); in TEST()
115 static Duration MillisecondsToDuration(int64 millis);
252 Duration TimeUtil::MillisecondsToDuration(int64 millis) { in MillisecondsToDuration() function in google::protobuf::util::TimeUtil