Searched refs:MinutesToDuration (Results 1 – 3 of 3) sorted by relevance
147 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()
105 static Duration MinutesToDuration(int64 minutes);
251 Duration TimeUtil::MinutesToDuration(int64 minutes) { in MinutesToDuration() function in google::protobuf::util::TimeUtil