Lines Matching refs:FromString
182 EXPECT_TRUE(Time::FromString(time_buf, &parsed_time));
188 EXPECT_TRUE(Time::FromString("Sun, 06 May 2012 12:00:00 GMT", &time));
196 EXPECT_TRUE(Time::FromString("Wed, 09 May 2012 12:00:00 GMT", &time));
204 EXPECT_TRUE(Time::FromString("Sat, 12 May 2012 12:00:00 GMT", &time));
212 EXPECT_TRUE(Time::FromString("Mon, 15 Oct 2007 19:45:00 GMT", &parsed_time));
218 EXPECT_TRUE(Time::FromString("15 Oct 07 12:45:00", &parsed_time));
224 EXPECT_TRUE(Time::FromString("15 Oct 07 19:45 GMT", &parsed_time));
230 EXPECT_TRUE(Time::FromString("Mon Oct 15 12:45 PDT 2007", &parsed_time));
236 EXPECT_TRUE(Time::FromString("Monday, Oct 15, 2007 12:45 PM", &parsed_time));
242 EXPECT_TRUE(Time::FromString("10/15/07 12:45:00 PM", &parsed_time));
248 EXPECT_TRUE(Time::FromString("15-OCT-2007 12:45pm", &parsed_time));
254 EXPECT_TRUE(Time::FromString("16 Oct 2007 4:45-JST (Tuesday)", &parsed_time));
260 EXPECT_TRUE(Time::FromString("15/10/07 12:45", &parsed_time));
269 EXPECT_TRUE(Time::FromString("Thu Jan 01 01:00:00 +0100 1970",
272 EXPECT_TRUE(Time::FromString("Thu Jan 01 00:00:00 GMT 1970",
281 EXPECT_TRUE(Time::FromString("Thu Jan 01 01:00:01 +0100 1970",
284 EXPECT_TRUE(Time::FromString("Thu Jan 01 00:00:01 GMT 1970",
293 EXPECT_TRUE(Time::FromString("Thu Jan 01 01:00:02 +0100 1970",
296 EXPECT_TRUE(Time::FromString("Thu Jan 01 00:00:02 GMT 1970",
305 EXPECT_TRUE(Time::FromString("Thu Jan 01 00:59:59 +0100 1970",
308 EXPECT_TRUE(Time::FromString("Wed Dec 31 23:59:59 GMT 1969",
319 EXPECT_TRUE(Time::FromString("Wed Dec 31 23:59:59 GMT 2100",
328 EXPECT_TRUE(Time::FromString("Thu Jan 01 00:59:58 +0100 1970",
331 EXPECT_TRUE(Time::FromString("Wed Dec 31 23:59:58 GMT 1969",
340 EXPECT_TRUE(Time::FromString("Wed Jun 29 19:40:01 +0100 1960",
343 EXPECT_TRUE(Time::FromString("Wed Jun 29 18:40:01 GMT 1960",
346 EXPECT_TRUE(Time::FromString("Wed Jun 29 17:40:01 GMT 1960",
353 EXPECT_FALSE(Time::FromString("", &parsed_time));
358 EXPECT_FALSE(Time::FromString("Monday morning 2000", &parsed_time));
1077 ASSERT_TRUE(Time::FromString("Tue, 02 Sep 2008 09:42:18 GMT", &birthdate));