timex v3.5.0 Timex.Parse.DateTime.Tokenizer behaviour View Source
Defines the API for a custom tokenizer which can extend Timex's datetime parsing facilities.
Link to this section Summary
Link to this section Callbacks
Link to this callback
apply(arg0, token, value)
View Source
apply(arg0, token, value)
View Source
apply(DateTime.t(), token :: atom(), value :: term()) ::
DateTime.t() | {:error, term()} | :unrecognized
apply(DateTime.t(), token :: atom(), value :: term()) :: DateTime.t() | {:error, term()} | :unrecognized
Link to this callback