line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Date::Rel; |
2
|
47
|
|
|
47
|
|
652
|
use 5.012; |
|
47
|
|
|
|
|
130
|
|
3
|
47
|
|
|
47
|
|
195
|
use Date(); |
|
47
|
|
|
|
|
71
|
|
|
47
|
|
|
|
|
4535
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use overload |
6
|
47
|
|
|
|
|
611
|
'""' => \&_op_str, |
7
|
|
|
|
|
|
|
'bool' => \&to_bool, |
8
|
|
|
|
|
|
|
'0+' => \&to_number, |
9
|
|
|
|
|
|
|
'neg' => \&negated, |
10
|
|
|
|
|
|
|
'<=>' => \&compare, # based on to_sec() |
11
|
|
|
|
|
|
|
'eq' => \&is_same, # based on full equality only |
12
|
|
|
|
|
|
|
'+' => \&sum, |
13
|
|
|
|
|
|
|
'+=' => \&add, |
14
|
|
|
|
|
|
|
'-' => \&difference, |
15
|
|
|
|
|
|
|
'-=' => \&subtract, |
16
|
|
|
|
|
|
|
'*' => \&product, |
17
|
|
|
|
|
|
|
'*=' => \&multiply, |
18
|
|
|
|
|
|
|
'/' => \"ient, |
19
|
|
|
|
|
|
|
'/=' => \÷, |
20
|
|
|
|
|
|
|
'=' => \&Date::__assign_stub, |
21
|
|
|
|
|
|
|
fallback => 1, |
22
|
47
|
|
|
47
|
|
33282
|
; |
|
47
|
|
|
|
|
27794
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |