Timex.Parse.DateTime.Tokenizers.Strftime
Implements the parser for strftime-style datetime format strings.
Summary↑
tokenize(str) | Tokenizes the given format string and returns an error or a list of directives |
Functions
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.