Fully Compliant ISO 8601 Parser
The go-to library for all your date and time parsing needs.
Any unimplemented notation the standard supports is considered a bug.
Chrono support is included.
Roadmap
Version 1.0.0 will be reached when the entire standard is implemented.
- calendar dates
- week dates
- ordinal dates
- approximate dates
- local time
- global time / time zone offsets
- time decimal fractions
- approximate time
- datetime
- durations
- intervals
- recurring intervals
Chrono support is very limited at the moment. Contributions would very welcome, should be a low-hanging fruit.
Examples
Basics:
use FromStr;
use *;
assert_eq!;
assert_eq!;
Chrono support:
extern crate chrono;
use FromStr;
use *;