line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Spreadsheet::Engine::Fn::ymd; |
2
|
|
|
|
|
|
|
|
3
|
28
|
|
|
28
|
|
173
|
use strict; |
|
28
|
|
|
|
|
64
|
|
|
28
|
|
|
|
|
879
|
|
4
|
28
|
|
|
28
|
|
172
|
use warnings; |
|
28
|
|
|
|
|
54
|
|
|
28
|
|
|
|
|
826
|
|
5
|
|
|
|
|
|
|
|
6
|
28
|
|
|
28
|
|
146
|
use base 'Spreadsheet::Engine::Fn::math'; |
|
28
|
|
|
|
|
58
|
|
|
28
|
|
|
|
|
3452
|
|
7
|
|
|
|
|
|
|
|
8
|
28
|
|
|
28
|
|
179
|
use Spreadsheet::Engine::Sheet qw/convert_date_julian_to_gregorian/; |
|
28
|
|
|
|
|
57
|
|
|
28
|
|
|
|
|
4470
|
|
9
|
|
|
|
|
|
|
|
10
|
406
|
|
|
406
|
1
|
1281
|
sub signature { 'n' } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub calculate { |
13
|
203
|
|
|
203
|
1
|
6215
|
my ($self, $value) = @_; |
14
|
203
|
|
|
|
|
1172
|
return $self->_calculate( |
15
|
|
|
|
|
|
|
convert_date_julian_to_gregorian(int($value + $self->JULIAN_OFFSET))); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |