Filename | /usr/share/perl5/Date/Manip/Lang/english.pm |
Statements | Executed 15 statements in 485µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12µs | 25µs | BEGIN@11 | Date::Manip::Lang::english::
1 | 1 | 1 | 12µs | 14µs | BEGIN@13 | Date::Manip::Lang::english::
1 | 1 | 1 | 8µs | 17µs | BEGIN@12 | Date::Manip::Lang::english::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Date::Manip::Lang::english; | ||||
2 | # Copyright (c) 1995-2014 Sullivan Beck. All rights reserved. | ||||
3 | # This program is free software; you can redistribute it and/or modify it | ||||
4 | # under the same terms as Perl itself. | ||||
5 | |||||
6 | ######################################################################## | ||||
7 | ######################################################################## | ||||
8 | |||||
9 | 1 | 8µs | require 5.010000; | ||
10 | |||||
11 | 2 | 24µs | 2 | 38µs | # spent 25µs (12+13) within Date::Manip::Lang::english::BEGIN@11 which was called:
# once (12µs+13µs) by Date::Manip::Base::_language at line 11 # spent 25µs making 1 call to Date::Manip::Lang::english::BEGIN@11
# spent 13µs making 1 call to strict::import |
12 | 2 | 21µs | 2 | 25µs | # spent 17µs (8+8) within Date::Manip::Lang::english::BEGIN@12 which was called:
# once (8µs+8µs) by Date::Manip::Base::_language at line 12 # spent 17µs making 1 call to Date::Manip::Lang::english::BEGIN@12
# spent 8µs making 1 call to warnings::import |
13 | 2 | 366µs | 2 | 16µs | # spent 14µs (12+2) within Date::Manip::Lang::english::BEGIN@13 which was called:
# once (12µs+2µs) by Date::Manip::Base::_language at line 13 # spent 14µs making 1 call to Date::Manip::Lang::english::BEGIN@13
# spent 2µs making 1 call to utf8::import |
14 | |||||
15 | 1 | 0s | our($VERSION); | ||
16 | 1 | 200ns | $VERSION='6.47'; | ||
17 | |||||
18 | |||||
19 | 1 | 200ns | our($Language,@Encodings,$LangName,$YearAdded); | ||
20 | 1 | 400ns | @Encodings = qw(); | ||
21 | 1 | 100ns | $LangName = "English"; | ||
22 | 1 | 100ns | $YearAdded = 1995; | ||
23 | |||||
24 | 1 | 48µs | $Language = { | ||
25 | ampm => [['AM', 'A.M.'], ['PM', 'P.M.']], | ||||
26 | at => ['at'], | ||||
27 | day_abb => [ | ||||
28 | ['Mon', 'Mon.'], | ||||
29 | ['Tue', 'Tues', 'Tue.', 'Tues.'], | ||||
30 | ['Wed', 'Wed.'], | ||||
31 | ['Thu', 'Thur', 'Thu.', 'Thur.'], | ||||
32 | ['Fri', 'Fri.'], | ||||
33 | ['Sat', 'Sat.'], | ||||
34 | ['Sun', 'Sun.'], | ||||
35 | ], | ||||
36 | day_char => [['M'], ['T'], ['W'], ['Th'], ['F'], ['Sa'], ['S']], | ||||
37 | day_name => [ | ||||
38 | ['Monday'], | ||||
39 | ['Tuesday'], | ||||
40 | ['Wednesday'], | ||||
41 | ['Thursday'], | ||||
42 | ['Friday'], | ||||
43 | ['Saturday'], | ||||
44 | ['Sunday'], | ||||
45 | ], | ||||
46 | each => ['each', 'every'], | ||||
47 | fields => [ | ||||
48 | ['years', 'y', 'yr', 'year', 'yrs'], | ||||
49 | ['months', 'm', 'mon', 'month', 'mons'], | ||||
50 | ['weeks', 'w', 'wk', 'wks', 'week'], | ||||
51 | ['days', 'd', 'day'], | ||||
52 | ['hours', 'h', 'hr', 'hrs', 'hour'], | ||||
53 | ['minutes', 'mn', 'min', 'minute', 'mins'], | ||||
54 | ['seconds', 's', 'sec', 'second', 'secs'], | ||||
55 | ], | ||||
56 | last => ['last', 'final'], | ||||
57 | mode => [['exactly', 'approximately'], ['business']], | ||||
58 | month_abb => [ | ||||
59 | ['Jan', 'Jan.'], | ||||
60 | ['Feb', 'Feb.'], | ||||
61 | ['Mar', 'Mar.'], | ||||
62 | ['Apr', 'Apr.'], | ||||
63 | ['May', 'May.'], | ||||
64 | ['Jun', 'Jun.'], | ||||
65 | ['Jul', 'Jul.'], | ||||
66 | ['Aug', 'Aug.'], | ||||
67 | ['Sep', 'Sept', 'Sep.', 'Sept.'], | ||||
68 | ['Oct', 'Oct.'], | ||||
69 | ['Nov', 'Nov.'], | ||||
70 | ['Dec', 'Dec.'], | ||||
71 | ], | ||||
72 | month_name => [ | ||||
73 | ['January'], | ||||
74 | ['February'], | ||||
75 | ['March'], | ||||
76 | ['April'], | ||||
77 | ['May'], | ||||
78 | ['June'], | ||||
79 | ['July'], | ||||
80 | ['August'], | ||||
81 | ['September'], | ||||
82 | ['October'], | ||||
83 | ['November'], | ||||
84 | ['December'], | ||||
85 | ], | ||||
86 | nextprev => [['next', 'following'], ['previous', 'last']], | ||||
87 | nth => [ | ||||
88 | ['1st', 'first', 'one'], | ||||
89 | ['2nd', 'second', 'two'], | ||||
90 | ['3rd', 'third', 'three'], | ||||
91 | ['4th', 'fourth', 'four'], | ||||
92 | ['5th', 'fifth', 'five'], | ||||
93 | ['6th', 'sixth', 'six'], | ||||
94 | ['7th', 'seventh', 'seven'], | ||||
95 | ['8th', 'eighth', 'eight'], | ||||
96 | ['9th', 'ninth', 'nine'], | ||||
97 | ['10th', 'tenth', 'ten'], | ||||
98 | ['11th', 'eleventh', 'eleven'], | ||||
99 | ['12th', 'twelfth', 'twelve'], | ||||
100 | ['13th', 'thirteenth', 'thirteen'], | ||||
101 | ['14th', 'fourteenth', 'fourteen'], | ||||
102 | ['15th', 'fifteenth', 'fifteen'], | ||||
103 | ['16th', 'sixteenth', 'sixteen'], | ||||
104 | ['17th', 'seventeenth', 'seventeen'], | ||||
105 | ['18th', 'eighteenth', 'eighteen'], | ||||
106 | ['19th', 'nineteenth', 'nineteen'], | ||||
107 | ['20th', 'twentieth', 'twenty'], | ||||
108 | ['21st', 'twenty-first', 'twenty-one'], | ||||
109 | ['22nd', 'twenty-second', 'twenty-two'], | ||||
110 | ['23rd', 'twenty-third', 'twenty-three'], | ||||
111 | ['24th', 'twenty-fourth', 'twenty-four'], | ||||
112 | ['25th', 'twenty-fifth', 'twenty-five'], | ||||
113 | ['26th', 'twenty-sixth', 'twenty-six'], | ||||
114 | ['27th', 'twenty-seventh', 'twenty-seven'], | ||||
115 | ['28th', 'twenty-eighth', 'twenty-eight'], | ||||
116 | ['29th', 'twenty-ninth', 'twenty-nine'], | ||||
117 | ['30th', 'thirtieth', 'thirty'], | ||||
118 | ['31st', 'thirty-first', 'thirty-one'], | ||||
119 | ['32nd', 'thirty-two', 'thirty-second'], | ||||
120 | ['33rd', 'thirty-three', 'thirty-third'], | ||||
121 | ['34th', 'thirty-four', 'thirty-fourth'], | ||||
122 | ['35th', 'thirty-five', 'thirty-fifth'], | ||||
123 | ['36th', 'thirty-six', 'thirty-sixth'], | ||||
124 | ['37th', 'thirty-seven', 'thirty-seventh'], | ||||
125 | ['38th', 'thirty-eight', 'thirty-eighth'], | ||||
126 | ['39th', 'thirty-nine', 'thirty-ninth'], | ||||
127 | ['40th', 'forty', 'fortieth'], | ||||
128 | ['41st', 'forty-one', 'forty-first'], | ||||
129 | ['42nd', 'forty-two', 'forty-second'], | ||||
130 | ['43rd', 'forty-three', 'forty-third'], | ||||
131 | ['44th', 'forty-four', 'forty-fourth'], | ||||
132 | ['45th', 'forty-five', 'forty-fifth'], | ||||
133 | ['46th', 'forty-six', 'forty-sixth'], | ||||
134 | ['47th', 'forty-seven', 'forty-seventh'], | ||||
135 | ['48th', 'forty-eight', 'forty-eighth'], | ||||
136 | ['49th', 'forty-nine', 'forty-ninth'], | ||||
137 | ['50th', 'fifty', 'fiftieth'], | ||||
138 | ['51st', 'fifty-one', 'fifty-first'], | ||||
139 | ['52nd', 'fifty-two', 'fifty-second'], | ||||
140 | ['53rd', 'fifty-three', 'fifty-third'], | ||||
141 | ], | ||||
142 | of => ['of', 'in'], | ||||
143 | offset_date => { | ||||
144 | ereyesterday => '-0:0:0:2:0:0:0', | ||||
145 | overmorrow => '+0:0:0:2:0:0:0', | ||||
146 | today => '0:0:0:0:0:0:0', | ||||
147 | tomorrow => '+0:0:0:1:0:0:0', | ||||
148 | yesterday => '-0:0:0:1:0:0:0', | ||||
149 | }, | ||||
150 | offset_time => { now => '0:0:0:0:0:0:0' }, | ||||
151 | on => ['on'], | ||||
152 | times => { midnight => '00:00:00', noon => '12:00:00' }, | ||||
153 | when => [ | ||||
154 | ['ago', 'past', 'in the past', 'earlier', 'before now'], | ||||
155 | ['in', 'later', 'future', 'in the future', 'from now'], | ||||
156 | ], | ||||
157 | }; | ||||
158 | |||||
159 | 1 | 18µs | 1; |