pub fn parse_rfc3339(s: &str) -> Result<SystemTime, Error> {
    if s.len() < "2018-02-14T00:28:07Z".len() {
        return Err(Error::InvalidFormat);
    }
    let b = s.as_bytes();
    if b[10] != b'T' || b.last() != Some(&b'Z') {
        return Err(Error::InvalidFormat);
    }
    parse_rfc3339_weak(s)
}
/// Parse RFC3339 timestamp `2018-02-14T00:28:07Z`
///
/// Supported feature: any precision of fractional
/// digits `2018-02-14T00:28:07.133Z`.
///
/// Unsupported feature: localized timestamps. Only UTC is supported.


Unsupported feature: localized timestamps. Only UTC is supported.
Unsupported feature : localized timestamps . Only UTC is supported .
pub fn parse_rfc3339(s: &str) -> Result<SystemTime, Error> {
    if s.len() < "2018-02-14T00:28:07Z".len() {
        return Err(Error::InvalidFormat);
    }
    let b = s.as_bytes();
    if b[10] != b'T' || b.last() != Some(&b'Z') {
        return Err(Error::InvalidFormat);
    }
    parse_rfc3339_weak(s)
}
pub fn parse_rfc3339 ( s : & str ) -> Result < SystemTime , Error > { if s . len ( ) < " " . len ( ) { return Err ( Error :: InvalidFormat ) ; } let b = s . as_bytes ( ) ; if b [ 10 ] != b'T' || b . last ( ) != Some ( & b'Z' ) { return Err ( Error :: InvalidFormat ) ; } parse_rfc3339_weak ( s ) }
Parse RFC3339 timestamp `2018-02-14T00:28:07Z`
Supported feature: any precision of fractional
digits `2018-02-14T00:28:07.133Z`.
Parse RFC3339 timestamp ` 2018 - 02 - 14T00 : 28 : 07Z ` Supported feature : any precision of fractional digits ` 2018 - 02 - 14T00 : 28 : 07 . 133Z ` .
s
&str