Timex.Parsers.DateFormat.Tokenizers.Strftime
Responsible for tokenizing date/time format strings which use the strftime formatter.
Summary↑
tokenize(s) | Takes a format string and extracts parsing directives for the parser |
Functions
Takes a format string and extracts parsing directives for the parser.
Example
iex> Timex.Parsers.Tokenizers.Strftime.tokenize(ā%Y-%0m-%dā) [%Directive{token: :year4, ...}, %Directive{token: :month, pad: 1, ...}, ...]