Lines Matching refs:TimeDelta
23 using base::TimeDelta;
44 TimeDelta /* start_time */,
46 TimeDelta /* end_time */,
47 TimeDelta /* expected result */>> {
50 TimeDelta start_time() { return std::get<1>(GetParam()); } in start_time()
52 TimeDelta end_time() { return std::get<3>(GetParam()); } in end_time()
53 TimeDelta result() { return std::get<4>(GetParam()); } in result()
67 TimeDelta::FromMinutes(30),
69 TimeDelta::FromMinutes(30),
70 TimeDelta::FromDays(2))));
76 TimeDelta::FromMinutes(10),
78 TimeDelta::FromMinutes(30),
79 TimeDelta::FromDays(2) +
80 TimeDelta::FromMinutes(20))));
86 TimeDelta::FromMinutes(100),
88 TimeDelta::FromMinutes(100),
89 TimeDelta::FromDays(3))));
95 TimeDelta::FromMinutes(150),
97 TimeDelta::FromMinutes(10),
98 TimeDelta::FromDays(2) -
99 TimeDelta::FromMinutes(140))));
103 TimeDelta /* time */,
104 TimeDelta /* offset */,
108 TimeDelta time() { return std::get<1>(GetParam()); } in time()
109 TimeDelta offset() { return std::get<2>(GetParam()); } in offset()
124 TimeDelta::FromMinutes(200),
125 TimeDelta::FromMinutes(400),
127 TimeDelta::FromMinutes(600)))));
133 TimeDelta::FromHours(23),
134 TimeDelta::FromHours(2),
135 WeeklyTime(kFriday, TimeDelta::FromHours(1)))));
141 TimeDelta::FromHours(20),
142 TimeDelta::FromDays(3),
143 WeeklyTime(kWednesday, TimeDelta::FromHours(20)))));
161 WeeklyTime(day_of_week(), TimeDelta::FromMinutes(minutes())); in TEST_P()
163 WeeklyTimeInterval(WeeklyTime(kMonday, TimeDelta::FromMinutes(10)), in TEST_P()
164 WeeklyTime(kWednesday, TimeDelta::FromMinutes(30))); in TEST_P()
166 WeeklyTimeInterval(WeeklyTime(kThursday, TimeDelta::FromMinutes(10)), in TEST_P()
167 WeeklyTime(kThursday, TimeDelta::FromMinutes(11))); in TEST_P()
170 WeeklyTimeInterval(WeeklyTime(kFriday, TimeDelta::FromMinutes(10)), in TEST_P()
171 WeeklyTime(kTuesday, TimeDelta::FromMinutes(30))); in TEST_P()