Lines Matching refs:ToTimeT
143 time_t now_t_2 = our_time_2.ToTimeT(); in TEST_F()
146 EXPECT_EQ(10, Time().FromTimeT(10).ToTimeT()); in TEST_F()
150 EXPECT_EQ(0, Time().ToTimeT()); in TEST_F()
188 EXPECT_EQ(0, zero_time.ToTimeT()); in TEST_F()
243 EXPECT_EQ(current_time, parsed_time.ToTimeT()); in TEST_F()
331 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
334 EXPECT_EQ(0, parsed_time.ToTimeT()); in TEST_F()
343 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
346 EXPECT_EQ(1, parsed_time.ToTimeT()); in TEST_F()
355 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
358 EXPECT_EQ(2, parsed_time.ToTimeT()); in TEST_F()
367 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
370 EXPECT_EQ(-1, parsed_time.ToTimeT()); in TEST_F()
381 EXPECT_NE(-1, parsed_time.ToTimeT()); in TEST_F()
390 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
393 EXPECT_EQ(-2, parsed_time.ToTimeT()); in TEST_F()
402 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
405 EXPECT_EQ(-299999999, parsed_time.ToTimeT()); in TEST_F()
408 EXPECT_EQ(-300003599, parsed_time.ToTimeT()); in TEST_F()
570 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
607 EXPECT_EQ(std::numeric_limits<time_t>::max(), t.ToTimeT()); in TEST_F()
630 EXPECT_EQ(1381633200, t.ToTimeT()); in TEST_F()