Timex.Parsers.DateFormat.DefaultParser

This module is responsible for parsing date strings using the default timex formatting syntax.

See Timex.DateFormat.Formatters.DefaultFormatter for more info.

Summary

apply_directives(tokens)

Constructs a DateTime from the parsed tokens

parse_directive(date_string, directive)

Extracts the value for a given directive

tokenize(format_string)

The tokenizer used by this parser

Functions

apply_directives(tokens)

Constructs a DateTime from the parsed tokens

parse_directive(date_string, directive)

Extracts the value for a given directive.

tokenize(format_string)

The tokenizer used by this parser.