Searched refs:InDaysFloored (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/time/ |
D | time_unittest.cc | 1138 TEST(TimeDelta, InDaysFloored) { in TEST() argument 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()
|
D | time.cc | 48 int TimeDelta::InDaysFloored() const { in InDaysFloored() function in base::TimeDelta
|
D | time.h | 190 int InDaysFloored() const;
|