Data::Sah::Compiler::perl::TH::duration - perl's type handler for type "duration"
This document describes version 0.75 of Data::Sah::Compiler::perl::TH::duration (from Perl distribution Data-Sah), released on 2016-03-16.
What constitutes a valid duration value:
DateTime::Duration object
a positive number (of seconds)
string in the form of ISO8601 duration format: "PnYnMnWnDTnHnMnS"
For example: "P1Y2M" (equals to "P14M", 14 months), "P1DT13M" (1 day, 13 minutes).
Please visit the project's homepage at https://metacpan.org/release/Data-Sah.
Source repository is at https://github.com/sharyanto/perl-Data-Sah.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Sah
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Sah, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Sah
CPAN shell
perl -MCPAN -e shell install Data::Sah
For more information on module installation, please visit the detailed CPAN module installation guide.