line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#include |
2
|
|
|
|
|
|
|
#include |
3
|
|
|
|
|
|
|
#include |
4
|
|
|
|
|
|
|
#include "private.h" |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
using namespace xs; |
7
|
|
|
|
|
|
|
using namespace xs::date; |
8
|
|
|
|
|
|
|
using namespace panda::time; |
9
|
|
|
|
|
|
|
using panda::string; |
10
|
|
|
|
|
|
|
using panda::string_view; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
MODULE = Date PACKAGE = Date |
13
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
BOOT { |
16
|
47
|
|
|
|
|
|
XS_BOOT(Date__Date); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
MODULE = Date PACKAGE = Date::strict |
20
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
void import (SV*) { |
23
|
5
|
50
|
|
|
|
|
Scope::Hints::set(strict_hint_name, Simple(1)); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
void unimport (SV*) { |
27
|
1
|
|
|
|
|
|
Scope::Hints::remove(strict_hint_name); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
INCLUDE: DateRel.xsi |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
INCLUDE: serialize.xsi |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
INCLUDE: Timezone.xsi |