DateTime::Format::Natural::Duration - Duration hooks and state handling
Please see the DateTime::Format::Natural documentation.
The DateTime::Format::Natural::Duration 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::Duration
DateTime::Format::Natural
Steven Schubiger <schubiger@cpan.org>
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/
To install DateTime::Format::Natural, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::Format::Natural
CPAN shell
perl -MCPAN -e shell install DateTime::Format::Natural
For more information on module installation, please visit the detailed CPAN module installation guide.