File Coverage

blib/lib/Date/Simple/ISO.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 3 3 100.0
total 21 21 100.0


line stmt bran cond sub pod time code
1             package Date::Simple::ISO;
2 3     3   44138 use Date::Simple 3;
  3         50  
  3         135  
3 3     3   17 use base qw/Date::Simple/;
  3         6  
  3         206  
4 3     3   15 use overload '""' => 'as_iso'; # sub { $_[0]->as_iso };
  3         8  
  3         15  
5              
6             *EXPORT = *Date::Simple::EXPORT;
7             *EXPORT_OK = *Date::Simple::EXPORT_OK;
8             *EXPORT_TAGS = *Date::Simple::EXPORT_TAGS;
9              
10 1     1 1 21 sub d8 { shift->_d8(@_); }
11 1     1 1 33 sub today { shift->_today(@_); }
12 1     1 1 17 sub ymd { shift->_ymd(@_); }
13              
14             1;
15              
16             =head1 NAME
17              
18             Date::Simple::ISO - Sub class of Date::Simple
19              
20             =head1 SYNOPSIS
21              
22             use Date::Simple::ISO;
23              
24             =head1 DESCRIPTION
25              
26             This module is entirely identical to Date::Simple. It is included for completness
27             and self documenting sake. IMO it is preferable to say
28              
29             my $obj=Date::Simple::ISO->new(...);
30              
31             As this makes the implicit formatting of the object clear.
32              
33             =head1 SEE ALSO
34              
35             L for full documentation.
36              
37             =cut