Searched refs:DurationToHours (Results 1 – 3 of 3) sorted by relevance
168 EXPECT_EQ(1, TimeUtil::DurationToHours(TimeUtil::HoursToDuration(1))); in TEST()169 EXPECT_EQ(-1, TimeUtil::DurationToHours(TimeUtil::HoursToDuration(-1))); in TEST()
119 static int64 DurationToHours(const Duration& duration);
281 int64 TimeUtil::DurationToHours(const Duration& duration) { in DurationToHours() function in google::protobuf::util::TimeUtil