← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 11:58:52 2013
Reported on Tue Oct 15 12:01:27 2013

Filename/usr/share/perl5/DateTime/Locale/en.pm
StatementsExecuted 105 statements in 1.76ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11122µs27µsDateTime::Locale::en::::BEGIN@21DateTime::Locale::en::BEGIN@21
11118µs41µsDateTime::Locale::en::::BEGIN@22DateTime::Locale::en::BEGIN@22
11112µs2.71msDateTime::Locale::en::::BEGIN@25DateTime::Locale::en::BEGIN@25
11111µs13µsDateTime::Locale::en::::BEGIN@23DateTime::Locale::en::BEGIN@23
0000s0sDateTime::Locale::en::::_available_formatsDateTime::Locale::en::_available_formats
0000s0sDateTime::Locale::en::::_format_for_EEEdDateTime::Locale::en::_format_for_EEEd
0000s0sDateTime::Locale::en::::_format_for_HmDateTime::Locale::en::_format_for_Hm
0000s0sDateTime::Locale::en::::_format_for_HmsDateTime::Locale::en::_format_for_Hms
0000s0sDateTime::Locale::en::::_format_for_MDateTime::Locale::en::_format_for_M
0000s0sDateTime::Locale::en::::_format_for_MEdDateTime::Locale::en::_format_for_MEd
0000s0sDateTime::Locale::en::::_format_for_MMMDateTime::Locale::en::_format_for_MMM
0000s0sDateTime::Locale::en::::_format_for_MMMEdDateTime::Locale::en::_format_for_MMMEd
0000s0sDateTime::Locale::en::::_format_for_MMMMEdDateTime::Locale::en::_format_for_MMMMEd
0000s0sDateTime::Locale::en::::_format_for_MMMMdDateTime::Locale::en::_format_for_MMMMd
0000s0sDateTime::Locale::en::::_format_for_MMMdDateTime::Locale::en::_format_for_MMMd
0000s0sDateTime::Locale::en::::_format_for_MdDateTime::Locale::en::_format_for_Md
0000s0sDateTime::Locale::en::::_format_for_dDateTime::Locale::en::_format_for_d
0000s0sDateTime::Locale::en::::_format_for_hmDateTime::Locale::en::_format_for_hm
0000s0sDateTime::Locale::en::::_format_for_msDateTime::Locale::en::_format_for_ms
0000s0sDateTime::Locale::en::::_format_for_yDateTime::Locale::en::_format_for_y
0000s0sDateTime::Locale::en::::_format_for_yMDateTime::Locale::en::_format_for_yM
0000s0sDateTime::Locale::en::::_format_for_yMEdDateTime::Locale::en::_format_for_yMEd
0000s0sDateTime::Locale::en::::_format_for_yMMMDateTime::Locale::en::_format_for_yMMM
0000s0sDateTime::Locale::en::::_format_for_yMMMEdDateTime::Locale::en::_format_for_yMMMEd
0000s0sDateTime::Locale::en::::_format_for_yMMMMDateTime::Locale::en::_format_for_yMMMM
0000s0sDateTime::Locale::en::::_format_for_yQDateTime::Locale::en::_format_for_yQ
0000s0sDateTime::Locale::en::::_format_for_yQQQDateTime::Locale::en::_format_for_yQQQ
0000s0sDateTime::Locale::en::::am_pm_abbreviatedDateTime::Locale::en::am_pm_abbreviated
0000s0sDateTime::Locale::en::::cldr_versionDateTime::Locale::en::cldr_version
0000s0sDateTime::Locale::en::::date_format_fullDateTime::Locale::en::date_format_full
0000s0sDateTime::Locale::en::::date_format_longDateTime::Locale::en::date_format_long
0000s0sDateTime::Locale::en::::date_format_mediumDateTime::Locale::en::date_format_medium
0000s0sDateTime::Locale::en::::date_format_shortDateTime::Locale::en::date_format_short
0000s0sDateTime::Locale::en::::datetime_formatDateTime::Locale::en::datetime_format
0000s0sDateTime::Locale::en::::day_format_abbreviatedDateTime::Locale::en::day_format_abbreviated
0000s0sDateTime::Locale::en::::day_format_narrowDateTime::Locale::en::day_format_narrow
0000s0sDateTime::Locale::en::::day_format_wideDateTime::Locale::en::day_format_wide
0000s0sDateTime::Locale::en::::day_stand_alone_abbreviatedDateTime::Locale::en::day_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::day_stand_alone_narrowDateTime::Locale::en::day_stand_alone_narrow
0000s0sDateTime::Locale::en::::day_stand_alone_wideDateTime::Locale::en::day_stand_alone_wide
0000s0sDateTime::Locale::en::::era_abbreviatedDateTime::Locale::en::era_abbreviated
0000s0sDateTime::Locale::en::::era_narrowDateTime::Locale::en::era_narrow
0000s0sDateTime::Locale::en::::era_wideDateTime::Locale::en::era_wide
0000s0sDateTime::Locale::en::::first_day_of_weekDateTime::Locale::en::first_day_of_week
0000s0sDateTime::Locale::en::::month_format_abbreviatedDateTime::Locale::en::month_format_abbreviated
0000s0sDateTime::Locale::en::::month_format_narrowDateTime::Locale::en::month_format_narrow
0000s0sDateTime::Locale::en::::month_format_wideDateTime::Locale::en::month_format_wide
0000s0sDateTime::Locale::en::::month_stand_alone_abbreviatedDateTime::Locale::en::month_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::month_stand_alone_narrowDateTime::Locale::en::month_stand_alone_narrow
0000s0sDateTime::Locale::en::::month_stand_alone_wideDateTime::Locale::en::month_stand_alone_wide
0000s0sDateTime::Locale::en::::quarter_format_abbreviatedDateTime::Locale::en::quarter_format_abbreviated
0000s0sDateTime::Locale::en::::quarter_format_narrowDateTime::Locale::en::quarter_format_narrow
0000s0sDateTime::Locale::en::::quarter_format_wideDateTime::Locale::en::quarter_format_wide
0000s0sDateTime::Locale::en::::quarter_stand_alone_abbreviatedDateTime::Locale::en::quarter_stand_alone_abbreviated
0000s0sDateTime::Locale::en::::quarter_stand_alone_narrowDateTime::Locale::en::quarter_stand_alone_narrow
0000s0sDateTime::Locale::en::::quarter_stand_alone_wideDateTime::Locale::en::quarter_stand_alone_wide
0000s0sDateTime::Locale::en::::time_format_fullDateTime::Locale::en::time_format_full
0000s0sDateTime::Locale::en::::time_format_longDateTime::Locale::en::time_format_long
0000s0sDateTime::Locale::en::::time_format_mediumDateTime::Locale::en::time_format_medium
0000s0sDateTime::Locale::en::::time_format_shortDateTime::Locale::en::time_format_short
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1###########################################################################
2#
3# This file is auto-generated by the Perl DateTime Suite locale
4# generator (0.05). This code generator comes with the
5# DateTime::Locale distribution in the tools/ directory, and is called
6# generate-from-cldr.
7#
8# This file as generated from the CLDR XML locale data. See the
9# LICENSE.cldr file included in this distribution for license details.
10#
11# This file was generated from the source file en.xml
12# The source file version number was 1.234, generated on
13# 2009/06/17 16:15:14.
14#
15# Do not edit this file directly.
16#
17###########################################################################
18
19package DateTime::Locale::en;
20
21349µs231µs
# spent 27µs (22+5) within DateTime::Locale::en::BEGIN@21 which was called: # once (22µs+5µs) by base::import at line 21
use strict;
# spent 27µs making 1 call to DateTime::Locale::en::BEGIN@21 # spent 5µs making 1 call to strict::import
22337µs263µs
# spent 41µs (18+23) within DateTime::Locale::en::BEGIN@22 which was called: # once (18µs+23µs) by base::import at line 22
use warnings;
# spent 41µs making 1 call to DateTime::Locale::en::BEGIN@22 # spent 22µs making 1 call to warnings::import
23329µs216µs
# spent 13µs (11+3) within DateTime::Locale::en::BEGIN@23 which was called: # once (11µs+3µs) by base::import at line 23
use utf8;
# spent 13µs making 1 call to DateTime::Locale::en::BEGIN@23 # spent 3µs making 1 call to utf8::import
24
2531.52ms22.71ms
# spent 2.71ms (12µs+2.70) within DateTime::Locale::en::BEGIN@25 which was called: # once (12µs+2.70ms) by base::import at line 25
use base 'DateTime::Locale::root';
# spent 2.71ms making 1 call to DateTime::Locale::en::BEGIN@25 # spent 2.70ms making 1 call to base::import, recursion: max depth 1, sum of overlapping time 2.70ms
26
27sub cldr_version { return "1\.7\.1" }
28
29{
3026µs my $am_pm_abbreviated = [ "AM", "PM" ];
31 sub am_pm_abbreviated { return $am_pm_abbreviated }
32}
33{
3422µs my $date_format_full = "EEEE\,\ MMMM\ d\,\ y";
35 sub date_format_full { return $date_format_full }
36}
37
38{
3922µs my $date_format_long = "MMMM\ d\,\ y";
40 sub date_format_long { return $date_format_long }
41}
42
43{
4421µs my $date_format_medium = "MMM\ d\,\ y";
45 sub date_format_medium { return $date_format_medium }
46}
47
48{
4922µs my $date_format_short = "M\/d\/yy";
50 sub date_format_short { return $date_format_short }
51}
52
53{
5421µs my $datetime_format = "\{1\}\ \{0\}";
55 sub datetime_format { return $datetime_format }
56}
57
58{
5922µs my $day_format_abbreviated = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ];
60 sub day_format_abbreviated { return $day_format_abbreviated }
61}
62
63sub day_format_narrow { $_[0]->day_stand_alone_narrow() }
64
65{
6622µs my $day_format_wide = [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ];
67 sub day_format_wide { return $day_format_wide }
68}
69
70sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() }
71
72{
7322µs my $day_stand_alone_narrow = [ "M", "T", "W", "T", "F", "S", "S" ];
74 sub day_stand_alone_narrow { return $day_stand_alone_narrow }
75}
76
77sub day_stand_alone_wide { $_[0]->day_format_wide() }
78
79{
8021µs my $era_abbreviated = [ "BC", "AD" ];
81 sub era_abbreviated { return $era_abbreviated }
82}
83{
8421µs my $era_narrow = [ "B", "A" ];
85 sub era_narrow { return $era_narrow }
86}
87{
8821µs my $era_wide = [ "Before\ Christ", "Anno\ Domini" ];
89 sub era_wide { return $era_wide }
90}
91{
9221µs my $first_day_of_week = "1";
93 sub first_day_of_week { return $first_day_of_week }
94}
95
96{
9725µs my $month_format_abbreviated = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ];
98 sub month_format_abbreviated { return $month_format_abbreviated }
99}
100
101sub month_format_narrow { $_[0]->month_stand_alone_narrow() }
102
103{
10425µs my $month_format_wide = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ];
105 sub month_format_wide { return $month_format_wide }
106}
107
108sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() }
109
110{
11125µs my $month_stand_alone_narrow = [ "J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D" ];
112 sub month_stand_alone_narrow { return $month_stand_alone_narrow }
113}
114
115sub month_stand_alone_wide { $_[0]->month_format_wide() }
116
117{
11823µs my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ];
119 sub quarter_format_abbreviated { return $quarter_format_abbreviated }
120}
121
122sub quarter_format_narrow { $_[0]->quarter_stand_alone_narrow() }
123
124{
12524µs my $quarter_format_wide = [ "1st\ quarter", "2nd\ quarter", "3rd\ quarter", "4th\ quarter" ];
126 sub quarter_format_wide { return $quarter_format_wide }
127}
128
129sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() }
130
131{
13223µs my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ];
133 sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow }
134}
135
136sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() }
137
138{
1392800ns my $time_format_full = "h\:mm\:ss\ a\ zzzz";
140 sub time_format_full { return $time_format_full }
141}
142
143{
14421µs my $time_format_long = "h\:mm\:ss\ a\ z";
145 sub time_format_long { return $time_format_long }
146}
147
148{
1492800ns my $time_format_medium = "h\:mm\:ss\ a";
150 sub time_format_medium { return $time_format_medium }
151}
152
153{
1542800ns my $time_format_short = "h\:mm\ a";
155 sub time_format_short { return $time_format_short }
156}
157
158{
1592900ns my $_format_for_EEEd = "d\ EEE";
160 sub _format_for_EEEd { return $_format_for_EEEd }
161}
162
163{
16421µs my $_format_for_Hm = "H\:mm";
165 sub _format_for_Hm { return $_format_for_Hm }
166}
167
168{
1692800ns my $_format_for_Hms = "H\:mm\:ss";
170 sub _format_for_Hms { return $_format_for_Hms }
171}
172
173{
1742700ns my $_format_for_M = "L";
175 sub _format_for_M { return $_format_for_M }
176}
177
178{
17921µs my $_format_for_MEd = "E\,\ M\/d";
180 sub _format_for_MEd { return $_format_for_MEd }
181}
182
183{
1842700ns my $_format_for_MMM = "LLL";
185 sub _format_for_MMM { return $_format_for_MMM }
186}
187
188{
1892800ns my $_format_for_MMMEd = "E\,\ MMM\ d";
190 sub _format_for_MMMEd { return $_format_for_MMMEd }
191}
192
193{
1942800ns my $_format_for_MMMMEd = "E\,\ MMMM\ d";
195 sub _format_for_MMMMEd { return $_format_for_MMMMEd }
196}
197
198{
1992800ns my $_format_for_MMMMd = "MMMM\ d";
200 sub _format_for_MMMMd { return $_format_for_MMMMd }
201}
202
203{
2042700ns my $_format_for_MMMd = "MMM\ d";
205 sub _format_for_MMMd { return $_format_for_MMMd }
206}
207
208{
2092800ns my $_format_for_Md = "M\/d";
210 sub _format_for_Md { return $_format_for_Md }
211}
212
213{
2142600ns my $_format_for_d = "d";
215 sub _format_for_d { return $_format_for_d }
216}
217
218{
2192800ns my $_format_for_hm = "h\:mm\ a";
220 sub _format_for_hm { return $_format_for_hm }
221}
222
223{
2242600ns my $_format_for_ms = "mm\:ss";
225 sub _format_for_ms { return $_format_for_ms }
226}
227
228{
22928µs my $_format_for_y = "y";
230 sub _format_for_y { return $_format_for_y }
231}
232
233{
2342800ns my $_format_for_yM = "M\/yyyy";
235 sub _format_for_yM { return $_format_for_yM }
236}
237
238{
2392800ns my $_format_for_yMEd = "EEE\,\ M\/d\/yyyy";
240 sub _format_for_yMEd { return $_format_for_yMEd }
241}
242
243{
2442700ns my $_format_for_yMMM = "MMM\ y";
245 sub _format_for_yMMM { return $_format_for_yMMM }
246}
247
248{
2492900ns my $_format_for_yMMMEd = "EEE\,\ MMM\ d\,\ y";
250 sub _format_for_yMMMEd { return $_format_for_yMMMEd }
251}
252
253{
2542800ns my $_format_for_yMMMM = "MMMM\ y";
255 sub _format_for_yMMMM { return $_format_for_yMMMM }
256}
257
258{
2592800ns my $_format_for_yQ = "Q\ yyyy";
260 sub _format_for_yQ { return $_format_for_yQ }
261}
262
263{
2642600ns my $_format_for_yQQQ = "QQQ\ y";
265 sub _format_for_yQQQ { return $_format_for_yQQQ }
266}
267
268{
269213µs my $_available_formats =
270 {
271 "EEEd" => "d\ EEE",
272 "Hm" => "H\:mm",
273 "Hms" => "H\:mm\:ss",
274 "M" => "L",
275 "MEd" => "E\,\ M\/d",
276 "MMM" => "LLL",
277 "MMMEd" => "E\,\ MMM\ d",
278 "MMMMEd" => "E\,\ MMMM\ d",
279 "MMMMd" => "MMMM\ d",
280 "MMMd" => "MMM\ d",
281 "Md" => "M\/d",
282 "d" => "d",
283 "hm" => "h\:mm\ a",
284 "ms" => "mm\:ss",
285 "y" => "y",
286 "yM" => "M\/yyyy",
287 "yMEd" => "EEE\,\ M\/d\/yyyy",
288 "yMMM" => "MMM\ y",
289 "yMMMEd" => "EEE\,\ MMM\ d\,\ y",
290 "yMMMM" => "MMMM\ y",
291 "yQ" => "Q\ yyyy",
292 "yQQQ" => "QQQ\ y"
293 };
294 sub _available_formats { return $_available_formats }
295}
296
297138µs1;
298
299__END__