timex v3.1.11 Timex.Parse.Duration.Parser behaviour
This module is responsible for parsing input strings into Duration structs. The actual parsing is delegated to specific parser modules, but this module provides a unified API for all of them.
Summary
Functions
Parses the given input using the ISO-8601 duration parser, and returns either an :ok, or :error tuple
Parses the given input using the provided parser module, and returns either an :ok, or :error tuple
Parses the given input using the ISO-8601 duration parser, and either returns a Duration, or raises an error
Parses the given input using the provided parser module, and either returns a Duration, or raises an error
Functions
Parses the given input using the ISO-8601 duration parser, and returns either an :ok, or :error tuple.
Parses the given input using the provided parser module, and returns either an :ok, or :error tuple.
Parses the given input using the ISO-8601 duration parser, and either returns a Duration, or raises an error.
Parses the given input using the provided parser module, and either returns a Duration, or raises an error.