Skip to main content

is_canonical

Function is_canonical 

Source
pub fn is_canonical(s: &str) -> bool
Expand description

True iff s is exactly YYYY-MM-DDTHH:MM:SS.ffffffZ.

Shape only — this does not check that the date is a real calendar date. parse does that.