The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Sah::Compiler::perl::TH::duration - perl's type handler for type "duration"

VERSION

This document describes version 0.75 of Data::Sah::Compiler::perl::TH::duration (from Perl distribution Data-Sah), released on 2016-03-16.

DESCRIPTION

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).

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Data-Sah.

SOURCE

Source repository is at https://github.com/sharyanto/perl-Data-Sah.

BUGS

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.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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.