File Coverage

blib/lib/Data/Sah/Compiler/perl/TH/datetime.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


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