Timex.Parse.DateTime.Tokenizers.Default

Implements the parser for the default DateTime format strings.

Summary

tokenize(str)

Tokenizes the given format string and returns an error or a list of directives

Functions

tokenize(str)

Specs:

  • tokenize(String.t) :: [%Timex.Parse.DateTime.Tokenizers.Directive{flags: term, modifiers: term, parser: term, type: term, value: term, width: term}] | {:error, term}

Tokenizes the given format string and returns an error or a list of directives.