Searched refs:parse_from_rfc2822 (Results 1 – 4 of 4) sorted by relevance
15 DateTime::parse_from_rfc2822(str).unwrap() in bench_datetime_parse_from_rfc2822()
279 …[`DateTime::parse_from_rfc2822`](https://docs.rs/chrono/0.4/chrono/struct.DateTime.html#method.par…307 assert_eq!(DateTime::parse_from_rfc2822("Fri, 28 Nov 2014 21:00:09 +0900"),346 let dt = DateTime::parse_from_rfc2822("Fri, 14 Jul 2017 02:40:00 +0000").unwrap();
102 * Support "negative UTC" in `parse_from_rfc2822` (@quodlibetor #368 reported in
347 pub fn parse_from_rfc2822(s: &str) -> ParseResult<DateTime<FixedOffset>> { in parse_from_rfc2822() method2310 DateTime::parse_from_rfc2822("Wed, 18 Feb 2015 23:16:09 +0000"), in test_datetime_rfc2822_and_rfc3339()2314 DateTime::parse_from_rfc2822("Wed, 18 Feb 2015 23:16:09 -0000"), in test_datetime_rfc2822_and_rfc3339()2322 DateTime::parse_from_rfc2822("Wed, 18 Feb 2015 23:59:60 +0500"), in test_datetime_rfc2822_and_rfc3339()