File Coverage

blib/lib/Data/Sah/Type/duration.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             use strict;
3 1     1   378  
  1         2  
  1         28  
4             use Data::Sah::Util::Role 'has_clause';
5 1     1   364 use Role::Tiny;
  1         27  
  1         54  
6 1     1   7 use Role::Tiny::With;
  1         1  
  1         5  
7 1     1   115  
  1         1  
  1         93  
8             with 'Data::Sah::Type::BaseType';
9             with 'Data::Sah::Type::Comparable';
10             with 'Data::Sah::Type::Sortable';
11              
12             # XXX prop: ...
13              
14             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
15             our $DATE = '2022-09-30'; # DATE
16             our $DIST = 'Data-Sah'; # DIST
17             our $VERSION = '0.913'; # VERSION
18              
19             1;
20             # ABSTRACT: date/time duration type
21              
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =head1 NAME
28              
29             Data::Sah::Type::duration - date/time duration type
30              
31             =head1 VERSION
32              
33             This document describes version 0.913 of Data::Sah::Type::duration (from Perl distribution Data-Sah), released on 2022-09-30.
34              
35             =for Pod::Coverage ^(clause_.+|clausemeta_.+)$
36              
37             =head1 HOMEPAGE
38              
39             Please visit the project's homepage at L<https://metacpan.org/release/Data-Sah>.
40              
41             =head1 SOURCE
42              
43             Source repository is at L<https://github.com/perlancar/perl-Data-Sah>.
44              
45             =head1 AUTHOR
46              
47             perlancar <perlancar@cpan.org>
48              
49             =head1 CONTRIBUTING
50              
51              
52             To contribute, you can send patches by email/via RT, or send pull requests on
53             GitHub.
54              
55             Most of the time, you don't need to build the distribution yourself. You can
56             simply modify the code, then test via:
57              
58             % prove -l
59              
60             If you want to build the distribution (e.g. to try to install it locally on your
61             system), you can install L<Dist::Zilla>,
62             L<Dist::Zilla::PluginBundle::Author::PERLANCAR>,
63             L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other
64             Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond
65             that are considered a bug and can be reported to me.
66              
67             =head1 COPYRIGHT AND LICENSE
68              
69             This software is copyright (c) 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012 by perlancar <perlancar@cpan.org>.
70              
71             This is free software; you can redistribute it and/or modify it under
72             the same terms as the Perl 5 programming language system itself.
73              
74             =head1 BUGS
75              
76             Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Sah>
77              
78             When submitting a bug or request, please include a test-file or a
79             patch to an existing test-file that illustrates the bug or desired
80             feature.
81              
82             =cut