Lines Matching refs:ToTimeT
133 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
136 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
140 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F()
178 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F()
233 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F()
321 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
324 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
333 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
336 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
345 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
348 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
357 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
360 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
371 EXPECT_NE(-1, parsed_time.ToTimeT()); in TEST_F()
380 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
383 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
392 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
395 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
398 EXPECT_EQ(-300003599, parsed_time.ToTimeT()); in TEST_F()
560 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
597 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
620 EXPECT_EQ(1381633200, t.ToTimeT()); in TEST_F()