Searched refs:parse_rfc3339_weak (Results 1 – 3 of 3) sorted by relevance
/third_party/rust/crates/humantime/src/ |
D | date.rs | 93 parse_rfc3339_weak(s) in parse_rfc3339() 109 pub fn parse_rfc3339_weak(s: &str) -> Result<SystemTime, Error> { in parse_rfc3339_weak() function 377 use super::{parse_rfc3339, parse_rfc3339_weak, format_rfc3339}; 603 assert_eq!(parse_rfc3339_weak("1970-01-01 00:00:00").unwrap(), in weak_smoke_tests() 607 assert_eq!(parse_rfc3339_weak("1970-01-01 00:00:00.000123").unwrap(), in weak_smoke_tests() 611 assert_eq!(parse_rfc3339_weak("1970-01-01T00:00:00.000123").unwrap(), in weak_smoke_tests() 615 assert_eq!(parse_rfc3339_weak("1970-01-01 00:00:00.000123Z").unwrap(), in weak_smoke_tests() 619 assert_eq!(parse_rfc3339_weak("1970-01-01 00:00:00Z").unwrap(), in weak_smoke_tests()
|
D | wrapper.rs | 7 use crate::date::{self, parse_rfc3339_weak, format_rfc3339}; 99 parse_rfc3339_weak(s).map(Timestamp) in from_str()
|
D | lib.rs | 29 pub use self::date::{parse_rfc3339, parse_rfc3339_weak, Error as TimestampError};
|