Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/util/
Dtime_util_test.cc147 EXPECT_EQ("60s", TimeUtil::ToString(TimeUtil::MinutesToDuration(1))); in TEST()
148 EXPECT_EQ("-60s", TimeUtil::ToString(TimeUtil::MinutesToDuration(-1))); in TEST()
166 EXPECT_EQ(1, TimeUtil::DurationToMinutes(TimeUtil::MinutesToDuration(1))); in TEST()
167 EXPECT_EQ(-1, TimeUtil::DurationToMinutes(TimeUtil::MinutesToDuration(-1))); in TEST()
Dtime_util.h105 static Duration MinutesToDuration(int64 minutes);
Dtime_util.cc251 Duration TimeUtil::MinutesToDuration(int64 minutes) { in MinutesToDuration() function in google::protobuf::util::TimeUtil