line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
11
|
use Opendata::GTFS::Standard; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
18
|
|
2
|
2
|
|
|
2
|
|
2602
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
57
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
74
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# PODNAME: Opendata::GTFS::Type::Calendar |
6
|
|
|
|
|
|
|
# ABSTRACT: Calendar |
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
3195
|
class Opendata::GTFS::Type::Calendar using Moose { |
|
2
|
|
|
2
|
|
46
|
|
|
2
|
|
|
2
|
|
10
|
|
|
2
|
|
|
|
|
80
|
|
|
2
|
|
|
|
|
131
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
499
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
129
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
96
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
176
|
|
|
2
|
|
|
|
|
52
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
6622
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
10457
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
14
|
|
|
2
|
|
|
|
|
6195
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
19
|
|
|
2
|
|
|
|
|
135
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
26
|
|
|
2
|
|
|
|
|
379
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
1878
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
21
|
|
|
2
|
|
|
|
|
8729
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
107
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
1
|
|
|
2
|
|
|
|
|
63
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
100
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
255
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
27287
|
|
|
2
|
|
|
|
|
31
|
|
|
2
|
|
|
|
|
3339
|
|
9
|
|
|
|
|
|
|
|
10
|
2
|
|
|
|
|
21
|
our $VERSION = '0.0104'; # VERSION |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
7
|
my @columns = qw/ |
13
|
|
|
|
|
|
|
1 service_id |
14
|
|
|
|
|
|
|
1 monday |
15
|
|
|
|
|
|
|
1 tuesday |
16
|
|
|
|
|
|
|
1 wednesday |
17
|
|
|
|
|
|
|
1 thursday |
18
|
|
|
|
|
|
|
1 friday |
19
|
|
|
|
|
|
|
1 saturday |
20
|
|
|
|
|
|
|
1 sunday |
21
|
|
|
|
|
|
|
1 start_date |
22
|
|
|
|
|
|
|
1 end_date |
23
|
|
|
|
|
|
|
/; |
24
|
|
|
|
|
|
|
|
25
|
2
|
|
|
|
|
10
|
for (my $i = 0; $i < $#columns; $i += 2) { |
26
|
20
|
|
|
|
|
29898
|
my $required = $columns[$i]; |
27
|
20
|
|
|
|
|
28
|
my $column = $columns[$i + 1]; |
28
|
|
|
|
|
|
|
|
29
|
20
|
50
|
|
|
|
69
|
has $column => ( |
30
|
|
|
|
|
|
|
is => 'ro', |
31
|
|
|
|
|
|
|
isa => ($required ? Str : Maybe[Str]), |
32
|
|
|
|
|
|
|
); |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=pod |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=encoding utf-8 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 NAME |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Opendata::GTFS::Type::Calendar - Calendar |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 VERSION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Version 0.0104, released 2015-02-22. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 end_date |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=begin HTML |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
62
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
</td> |
65
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
66
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
67
|
|
|
|
|
|
|
</table> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
<p></p> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=end HTML |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 friday |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=begin HTML |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
78
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
</td> |
81
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
82
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
83
|
|
|
|
|
|
|
</table> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
<p></p> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=end HTML |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 monday |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=begin HTML |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
94
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
</td> |
97
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
98
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
99
|
|
|
|
|
|
|
</table> |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
<p></p> |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=end HTML |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 saturday |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=begin HTML |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
110
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
</td> |
113
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
114
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
115
|
|
|
|
|
|
|
</table> |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
<p></p> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=end HTML |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 service_id |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=begin HTML |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
126
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
</td> |
129
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
130
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
131
|
|
|
|
|
|
|
</table> |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
<p></p> |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=end HTML |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 start_date |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=begin HTML |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
142
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
</td> |
145
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
146
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
147
|
|
|
|
|
|
|
</table> |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
<p></p> |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=end HTML |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=head2 sunday |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=begin HTML |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
158
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
</td> |
161
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
162
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
163
|
|
|
|
|
|
|
</table> |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
<p></p> |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
=end HTML |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
=head2 thursday |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
=begin HTML |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
174
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
</td> |
177
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
178
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
179
|
|
|
|
|
|
|
</table> |
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
<p></p> |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=end HTML |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head2 tuesday |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=begin HTML |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
190
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
</td> |
193
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
194
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
195
|
|
|
|
|
|
|
</table> |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
<p></p> |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
=end HTML |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=head2 wednesday |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
=begin HTML |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
<table cellpadding="0" cellspacing="0"> |
206
|
|
|
|
|
|
|
<tr><td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;"><a href="https://metacpan.org/pod/Types::Standard#Str">Str</a> |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
</td> |
209
|
|
|
|
|
|
|
<td style="padding-right: 6px; padding-left: 6px; border-right: 1px solid #b8b8b8; white-space: nowrap;">optional</td> |
210
|
|
|
|
|
|
|
<td style="padding-left: 6px; padding-right: 6px; white-space: nowrap;">read-only</td></tr> |
211
|
|
|
|
|
|
|
</table> |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
<p></p> |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=end HTML |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
=head1 SOURCE |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Opendata-GTFS-Feed> |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
=head1 HOMEPAGE |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
L<https://metacpan.org/release/Opendata-GTFS-Feed> |
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=head1 AUTHOR |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
234
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
=cut |