line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Date::Exception::InvalidDay; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
$Date::Exception::InvalidDay::VERSION = '0.08'; |
4
|
|
|
|
|
|
|
$Date::Exception::InvalidDay::AUTHORITY = 'cpan:MANWAR'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
=head1 NAME |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
Date::Exception::InvalidDay - Handles 'invalid day' exception. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 VERSION |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Version 0.08 |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=cut |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
1022
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
17
|
1
|
|
|
1
|
|
8
|
use Data::Dumper; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
457
|
use Moo; |
|
1
|
|
|
|
|
2209
|
|
|
1
|
|
|
|
|
5
|
|
20
|
1
|
|
|
1
|
|
257
|
use namespace::autoclean; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has status => (is => 'ro', default => sub { 101 }); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
with 'Date::Exception'; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Handles 'invalid day' exception, with statu code C<101>. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Mohammad S Anwar, C<< <mohammad.anwar at yahoo.com> >> |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 REPOSITORY |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
L<https://github.com/manwar/Date-Exception> |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 BUGS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Please report any bugs or feature requests to C<bug-date-exception at rt.cpan.org>, |
41
|
|
|
|
|
|
|
or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Date-Exception>. |
42
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on your |
43
|
|
|
|
|
|
|
bug as I make changes. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 SUPPORT |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
perldoc Date::Exception::InvalidDay |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
You can also look for information at: |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=over 4 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Date-Exception> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Date-Exception> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * CPAN Ratings |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Date-Exception> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * Search CPAN |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
L<http://search.cpan.org/dist/Date-Exception/> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=back |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Copyright (C) 2015 - 2016 Mohammad S Anwar. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it under |
78
|
|
|
|
|
|
|
the terms of the the Artistic License (2.0). You may obtain a copy of the full |
79
|
|
|
|
|
|
|
license at: |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
L<http://www.perlfoundation.org/artistic_license_2_0> |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Any use, modification, and distribution of the Standard or Modified Versions is |
84
|
|
|
|
|
|
|
governed by this Artistic License.By using, modifying or distributing the Package, |
85
|
|
|
|
|
|
|
you accept this license. Do not use, modify, or distribute the Package, if you do |
86
|
|
|
|
|
|
|
not accept this license. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
If your Modified Version has been derived from a Modified Version made by someone |
89
|
|
|
|
|
|
|
other than you,you are nevertheless required to ensure that your Modified Version |
90
|
|
|
|
|
|
|
complies with the requirements of this license. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
This license does not grant you the right to use any trademark, service mark, |
93
|
|
|
|
|
|
|
tradename, or logo of the Copyright Holder. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This license includes the non-exclusive, worldwide, free-of-charge patent license |
96
|
|
|
|
|
|
|
to make, have made, use, offer to sell, sell, import and otherwise transfer the |
97
|
|
|
|
|
|
|
Package with respect to any patent claims licensable by the Copyright Holder that |
98
|
|
|
|
|
|
|
are necessarily infringed by the Package. If you institute patent litigation |
99
|
|
|
|
|
|
|
(including a cross-claim or counterclaim) against any party alleging that the |
100
|
|
|
|
|
|
|
Package constitutes direct or contributory patent infringement,then this Artistic |
101
|
|
|
|
|
|
|
License to you shall terminate on the date that such litigation is filed. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND |
104
|
|
|
|
|
|
|
CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED |
105
|
|
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
106
|
|
|
|
|
|
|
NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS |
107
|
|
|
|
|
|
|
REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, |
108
|
|
|
|
|
|
|
INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE |
109
|
|
|
|
|
|
|
OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=cut |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
1; # End of Date::Exception::InvalidDay |