line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DateTime::Format::Epoch::MacOS;
|
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
123758
|
use strict;
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
67
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
6
|
use vars qw($VERSION @ISA);
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
102
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$VERSION = '0.13';
|
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
680
|
use DateTime;
|
|
2
|
|
|
|
|
93295
|
|
|
2
|
|
|
|
|
43
|
|
10
|
2
|
|
|
2
|
|
660
|
use DateTime::Format::Epoch;
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
148
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
@ISA = qw/DateTime::Format::Epoch/;
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my $epoch = DateTime->new( year => 1904, month => 1, day => 1,
|
15
|
|
|
|
|
|
|
time_zone => 'floating' );
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub new {
|
18
|
10
|
|
|
10
|
1
|
22
|
my $class = shift;
|
19
|
|
|
|
|
|
|
|
20
|
10
|
|
|
|
|
41
|
return $class->SUPER::new( epoch => $epoch,
|
21
|
|
|
|
|
|
|
unit => 'seconds',
|
22
|
|
|
|
|
|
|
type => 'int',
|
23
|
|
|
|
|
|
|
local_epoch => 1,
|
24
|
|
|
|
|
|
|
skip_leap_seconds => 1 );
|
25
|
|
|
|
|
|
|
}
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1;
|
28
|
|
|
|
|
|
|
__END__
|