Struct dtparse::Parser [−][src]
pub struct Parser { /* fields omitted */ }
Methods
impl Parser
[src]
impl Parser
pub fn new(info: ParserInfo) -> Self
[src]
pub fn new(info: ParserInfo) -> Self
pub fn parse(
&mut self,
timestr: &str,
dayfirst: Option<bool>,
yearfirst: Option<bool>,
fuzzy: bool,
fuzzy_with_tokens: bool,
default: Option<&NaiveDateTime>,
ignoretz: bool,
tzinfos: HashMap<String, i32>
) -> Result<(NaiveDateTime, Option<FixedOffset>, Option<Vec<String>>), ParseError>
[src]
pub fn parse(
&mut self,
timestr: &str,
dayfirst: Option<bool>,
yearfirst: Option<bool>,
fuzzy: bool,
fuzzy_with_tokens: bool,
default: Option<&NaiveDateTime>,
ignoretz: bool,
tzinfos: HashMap<String, i32>
) -> Result<(NaiveDateTime, Option<FixedOffset>, Option<Vec<String>>), ParseError>