langtime 0.2.1

A rust library to parse english dates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::fmt;

#[derive(Debug)]
pub struct NotParsable;

impl fmt::Display for NotParsable {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "String not parsable to a valid datetime")
    }
}

impl std::error::Error for NotParsable {}