Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dtime_util_test.cc149 EXPECT_EQ("3600s", TimeUtil::ToString(TimeUtil::HoursToDuration(1))); in TEST()
150 EXPECT_EQ("-3600s", TimeUtil::ToString(TimeUtil::HoursToDuration(-1))); in TEST()
168 EXPECT_EQ(1, TimeUtil::DurationToHours(TimeUtil::HoursToDuration(1))); in TEST()
169 EXPECT_EQ(-1, TimeUtil::DurationToHours(TimeUtil::HoursToDuration(-1))); in TEST()
Dtime_util.h106 static Duration HoursToDuration(int64 hours);
Dtime_util.cc255 Duration TimeUtil::HoursToDuration(int64 hours) { in HoursToDuration() function in google::protobuf::util::TimeUtil