blib/lib/TOML/XS/Timestamp.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package TOML::XS::Timestamp;
2  
3 use strict;
4 use warnings;
5  
6 =encoding utf-8
7  
8 =head1 NAME
9  
10 TOML::XS::Timestamp - Object representation of a L<TOML|https://toml.io>
11 timestamp
12  
13 =head1 SYNOPSIS
14  
15 See L<TOML::XS>.
16  
17 =head1 DESCRIPTION
18  
19 Instances of this class represent a parse of a TOML timestamp.
20  
21 This class is not directly instantiable.
22  
23 =head1 ACCESSOR METHODS
24  
25 Any of the following may be undef, depending on the original TOML.
26  
27 =over
28  
29 =item * C<year()>
30  
31 =item * C<month()>
32  
33 =item * C<day()> (alias: C<date()>)
34  
35 =item * C<hour()> (alias: C<hours()>)
36  
37 =item * C<minute()> (alias: C<minutes()>)
38  
39 =item * C<second()> (alias: C<seconds()>)
40  
41 =item * C<millisecond()> (alias: C<milliseconds()>)
42  
43 =item * C<microsecond()> (alias: C<microseconds()>)
44  
45 =item * C<timezone()> (string)
46  
47 =back
48  
49 =head1 OTHER METHODS
50  
51 =head2 $str = I<OBJ>->to_string()
52  
53 Returns a string that represents I<OBJ>.
54  
55 =cut