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