Crate parse_interval

Source

Enums§

ParseError
An error parsing the text, with some attempt made to be specific.

Functions§

simple
Parse an interval like “4 weeks 12 hours”. It can include weeks, days, hours, minutes and seconds. It can not include years or months.
with_date
Parse an interval like “1 year 6 months”.
with_lazy_date
Parse an interval like “1 year 6 months”.
with_now
Parse an interval like “1 year 6 months”.