Duration hooks and state handling
Please see the DateTime::Format::Natural documentation.
The \*(C`DateTime::Format::Natural::Duration\*(C' class contains code to alter tokens before parsing and to insert DateTime objects in the resulting queue. Furthermore, there's code to save the state of the first failing parse and restore it after the duration has been processed.
DateTime::Format::Natural
Steven Schubiger <[email protected]>
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
See <http://dev.perl.org/licenses/>