File Coverage

blib/lib/Date/Gregorian/Exact.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 17 17 100.0


line stmt bran cond sub pod time code
1             # Copyright (c) 2007-2019 by Martin Becker, Blaubeuren.
2             # This package is free software; you can distribute it and/or modify it
3             # under the terms of the Artistic License 2.0 (see LICENSE file).
4              
5             package Date::Gregorian::Exact;
6              
7 1     1   817 use 5.006;
  1         3  
8 1     1   4 use strict;
  1         2  
  1         27  
9 1     1   6 use warnings;
  1         2  
  1         43  
10 1     1   5 use Carp qw(croak);
  1         7  
  1         120  
11              
12             our $VERSION = 0.999;
13              
14             sub import {
15 1     1   381 croak(__PACKAGE__ . " is no longer available");
16             }
17              
18             1;
19              
20             __END__
21              
22             =head1 NAME
23              
24             Date::Gregorian::Exact - abandoned extension of Date::Gregorian
25              
26             =head1 SYNOPSIS
27              
28             # do not use Date::Gregorian::Exact;
29              
30             =head1 DESCRIPTION
31              
32             I<Date::Gregorian::Exact> was a subclass extending Date::Gregorian
33             towards higher precision (sufficient to deal with timestamps).
34              
35             Due to the simplicity of its data model, however, it never came
36             close to satisfyingly handle real-life timestamps. Therefore
37             it has long been considered deprecated and is now finally abandoned.
38              
39             Recent versions of the I<DateTime> suite of modules
40             offer a considerably more substantial approach to the intricacies
41             of local clocks and timezones.
42             Please consider using those modules for calculations involving
43             date and time.
44              
45             =head1 SEE ALSO
46              
47             L<Date::Gregorian>, L<DateTime>.
48              
49             =head1 AUTHOR
50              
51             Martin Becker C<< <becker-cpan-mp (at) cozap.com> >>
52              
53             =head1 LICENSE AND COPYRIGHT
54              
55             Copyright (c) 1999-2019 by Martin Becker, Blaubeuren.
56              
57             This library is free software; you can distribute it and/or modify it
58             under the terms of the Artistic License 2.0 (see the LICENSE file).
59              
60             =head1 DISCLAIMER OF WARRANTY
61              
62             This library is distributed in the hope that it will be useful,
63             but without any warranty; without even the implied warranty of
64             merchantability or fitness for a particular purpose.
65              
66             =cut