Infer DateTime format
Library for infering date time format from the given string.
Example
use dtinfer;
use ;
let sample = "1987-05-23T12:30";
let pattern = infer_best.unwrap;
let parsed = parse_from_str.unwrap;
let expected = new;
assert_eq!;
Features
Only ISO 8601 like date are supported as for now.
License
Licensed under either of
at your option.
Contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.