strptime
The strptime crate provides date and time parsing to process strings into dates. It does not
depend on any existing date and time library, and can serve as a stand-alone parser.
The library can parse a date and time together, or either one separately. Dates are required to be fully-specified, while times are more permissive and will default unspecified components to zero.
Specifiers
Not all strptime/strftime specifiers are supported yet. The Parser struct documents the
list.
Examples
Parsing a date and time:
use Parser;
let parser = new;
let raw_date_time = parser.parse.unwrap;
assert_eq!;