Add get_parsers() and get_formats()

This commit is contained in:
Jesse Gumm 2014-08-30 15:53:19 -05:00
parent 58f75fc966
commit 928c4e9be4
4 changed files with 22 additions and 4 deletions

View file

@ -240,6 +240,7 @@ be attempted before engaging the `ec_date` parser.
able to parse the string, then it should return `undefined`.
+ `deregister_parser(Key)` - If you previously registered a parser with the
`qdate` server, you can deregister it by its `Key`.
+ `get_parsers()` - Get the list of all registered parsers and their keys.
### Registering and Deregistering Formatters
+ `register_format(Key, FormatString)` - Register a formatting string with
@ -247,6 +248,7 @@ be attempted before engaging the `ec_date` parser.
formatting string.
+ `deregister_format(Key)` - Deregister the formatting string from the
`qdate` server.
+ `get_formats()` - Get the list of all registered formats and their keys.
### About backwards compatibility with `ec_date` and deterministic parsing