DOKK / manpages / debian 12 / libdatetime-format-natural-perl / DateTime::Format::Natural::Duration.3pm.en
DateTime::Format::Natural::Duration(3pm) User Contributed Perl Documentation DateTime::Format::Natural::Duration(3pm)

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

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/>

2023-02-05 perl v5.36.0