Lines Matching refs:FromHours
1095 static_assert(TimeDelta::FromDays(2) == TimeDelta::FromHours(48), ""); in TEST()
1096 static_assert(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180), ""); in TEST()
1108 EXPECT_EQ(TimeDelta::FromHours(13).InHours(), 13); in TEST()
1126 EXPECT_EQ(TimeDelta::FromHours(23).InDays(), 0); in TEST()
1127 EXPECT_EQ(TimeDelta::FromHours(-23).InDays(), 0); in TEST()
1139 EXPECT_EQ(TimeDelta::FromHours(-25).InDaysFloored(), -2); in TEST()
1140 EXPECT_EQ(TimeDelta::FromHours(-24).InDaysFloored(), -1); in TEST()
1141 EXPECT_EQ(TimeDelta::FromHours(-23).InDaysFloored(), -1); in TEST()
1143 EXPECT_EQ(TimeDelta::FromHours(-1).InDaysFloored(), -1); in TEST()
1144 EXPECT_EQ(TimeDelta::FromHours(0).InDaysFloored(), 0); in TEST()
1145 EXPECT_EQ(TimeDelta::FromHours(1).InDaysFloored(), 0); in TEST()
1147 EXPECT_EQ(TimeDelta::FromHours(23).InDaysFloored(), 0); in TEST()
1148 EXPECT_EQ(TimeDelta::FromHours(24).InDaysFloored(), 1); in TEST()
1149 EXPECT_EQ(TimeDelta::FromHours(25).InDaysFloored(), 1); in TEST()
1287 static_assert(TimeDelta::FromHours(std::numeric_limits<int>::max()).is_max(), in TEST()