blib/lib/Date/Simple/ISO.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 3 / 3 totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Simple.xs ↑ Summary
1 package Date::Simple::ISO;
2 3 ▶use Date::Simple 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use base qw/Date::Simple/;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use overload '""' => 'as_iso'; # sub { $_[0]->as_iso };
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 *EXPORT = *Date::Simple::EXPORT;
7 3 *EXPORT_OK = *Date::Simple::EXPORT_OK;
8 3 *EXPORT_TAGS = *Date::Simple::EXPORT_TAGS;
9  
10 1 ▶sub d8 { shift->_d8(@_); }
Subroutine d8: called CC=1 SCAR=0.0
Pod documented
11 1 ▶sub today { shift->_today(@_); }
Subroutine today: called CC=1 SCAR=0.0
Pod documented
12 1 ▶sub ymd { shift->_ymd(@_); }
Subroutine ymd: called CC=1 SCAR=0.0
Pod documented
13  
14 3 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<Date::Simple> for full documentation.
36  
37 =cut
« Simple.xs ↑ Summary