File | /usr/local/lib/perl5/site_perl/5.10.1/DateTime/Locale/en.pm |
Statements Executed | 160 |
Statement Execution Time | 1.46ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
10 | 1 | 1 | 18µs | 18µs | am_pm_abbreviated | DateTime::Locale::en::
10 | 2 | 1 | 14µs | 14µs | time_format_medium | DateTime::Locale::en::
1 | 1 | 1 | 14µs | 16µs | BEGIN@21 | DateTime::Locale::en::
10 | 2 | 1 | 13µs | 13µs | date_format_medium | DateTime::Locale::en::
5 | 1 | 1 | 12µs | 12µs | datetime_format | DateTime::Locale::en::
5 | 1 | 1 | 10µs | 10µs | day_format_wide | DateTime::Locale::en::
5 | 1 | 1 | 9µs | 9µs | month_format_abbreviated | DateTime::Locale::en::
5 | 1 | 1 | 8µs | 8µs | day_format_abbreviated | DateTime::Locale::en::
5 | 1 | 1 | 8µs | 8µs | month_format_wide | DateTime::Locale::en::
1 | 1 | 1 | 7µs | 16µs | BEGIN@22 | DateTime::Locale::en::
1 | 1 | 1 | 6µs | 1.84ms | BEGIN@25 | DateTime::Locale::en::
1 | 1 | 1 | 6µs | 8µs | BEGIN@23 | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _available_formats | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_EEEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_Hm | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_Hms | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_M | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MMM | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MMMEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MMMMEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MMMMd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_MMMd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_Md | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_d | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_hm | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_ms | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_y | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yM | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yMEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yMMM | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yMMMEd | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yMMMM | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yQ | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | _format_for_yQQQ | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | cldr_version | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | date_format_full | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | date_format_long | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | date_format_short | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | day_format_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | day_stand_alone_abbreviated | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | day_stand_alone_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | day_stand_alone_wide | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | era_abbreviated | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | era_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | era_wide | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | first_day_of_week | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | month_format_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | month_stand_alone_abbreviated | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | month_stand_alone_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | month_stand_alone_wide | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_format_abbreviated | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_format_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_format_wide | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_stand_alone_abbreviated | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_stand_alone_narrow | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | quarter_stand_alone_wide | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | time_format_full | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | time_format_long | DateTime::Locale::en::
0 | 0 | 0 | 0s | 0s | time_format_short | DateTime::Locale::en::
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 | |||||
19 | package DateTime::Locale::en; | ||||
20 | |||||
21 | 3 | 21µs | 2 | 19µs | # spent 16µs (14+3) within DateTime::Locale::en::BEGIN@21 which was called
# once (14µs+3µs) by base::import at line 21 # spent 16µs making 1 call to DateTime::Locale::en::BEGIN@21
# spent 3µs making 1 call to strict::import |
22 | 3 | 19µs | 2 | 24µs | # spent 16µs (7+9) within DateTime::Locale::en::BEGIN@22 which was called
# once (7µs+9µs) by base::import at line 22 # spent 16µs making 1 call to DateTime::Locale::en::BEGIN@22
# spent 9µs making 1 call to warnings::import |
23 | 3 | 19µs | 2 | 10µs | # spent 8µs (6+2) within DateTime::Locale::en::BEGIN@23 which was called
# once (6µs+2µs) by base::import at line 23 # spent 8µs making 1 call to DateTime::Locale::en::BEGIN@23
# spent 2µs making 1 call to utf8::import |
24 | |||||
25 | 3 | 1.15ms | 2 | 1.84ms | # spent 1.84ms (6µs+1.83) within DateTime::Locale::en::BEGIN@25 which was called
# once (6µs+1.83ms) by base::import at line 25 # spent 1.84ms making 1 call to DateTime::Locale::en::BEGIN@25
# spent 1.83ms making 1 call to base::import, recursion: max depth 1, time 1.83ms |
26 | |||||
27 | sub cldr_version { return "1\.7\.1" } | ||||
28 | |||||
29 | { | ||||
30 | 2 | 2µs | my $am_pm_abbreviated = [ "AM", "PM" ]; | ||
31 | 10 | 29µs | # spent 18µs within DateTime::Locale::en::am_pm_abbreviated which was called 10 times, avg 2µs/call:
# 10 times (18µs+0s) by DateTime::Locale::Base::am_pms at line 205 of DateTime/Locale/Base.pm, avg 2µs/call | ||
32 | } | ||||
33 | { | ||||
34 | 2 | 400ns | my $date_format_full = "EEEE\,\ MMMM\ d\,\ y"; | ||
35 | sub date_format_full { return $date_format_full } | ||||
36 | } | ||||
37 | |||||
38 | { | ||||
39 | 2 | 200ns | my $date_format_long = "MMMM\ d\,\ y"; | ||
40 | sub date_format_long { return $date_format_long } | ||||
41 | } | ||||
42 | |||||
43 | { | ||||
44 | 2 | 200ns | my $date_format_medium = "MMM\ d\,\ y"; | ||
45 | 10 | 24µs | # spent 13µs within DateTime::Locale::en::date_format_medium which was called 10 times, avg 1µs/call:
# 5 times (9µs+0s) by DateTime::Locale::Base::date_format_default at line 52 of DateTime/Locale/Base.pm, avg 2µs/call
# 5 times (5µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 161 of DateTime/Locale/Base.pm, avg 920ns/call | ||
46 | } | ||||
47 | |||||
48 | { | ||||
49 | 2 | 300ns | my $date_format_short = "M\/d\/yy"; | ||
50 | sub date_format_short { return $date_format_short } | ||||
51 | } | ||||
52 | |||||
53 | { | ||||
54 | 2 | 200ns | my $datetime_format = "\{1\}\ \{0\}"; | ||
55 | 5 | 17µs | # spent 12µs within DateTime::Locale::en::datetime_format which was called 5 times, avg 2µs/call:
# 5 times (12µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 158 of DateTime/Locale/Base.pm, avg 2µs/call | ||
56 | } | ||||
57 | |||||
58 | { | ||||
59 | 2 | 1µs | my $day_format_abbreviated = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ]; | ||
60 | 5 | 13µs | # spent 8µs within DateTime::Locale::en::day_format_abbreviated which was called 5 times, avg 2µs/call:
# 5 times (8µs+0s) by DateTime::Locale::Base::day_abbreviations at line 194 of DateTime/Locale/Base.pm, avg 2µs/call | ||
61 | } | ||||
62 | |||||
63 | sub day_format_narrow { $_[0]->day_stand_alone_narrow() } | ||||
64 | |||||
65 | { | ||||
66 | 2 | 1µs | my $day_format_wide = [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday" ]; | ||
67 | 5 | 15µs | # spent 10µs within DateTime::Locale::en::day_format_wide which was called 5 times, avg 2µs/call:
# 5 times (10µs+0s) by DateTime::Locale::Base::day_names at line 193 of DateTime/Locale/Base.pm, avg 2µs/call | ||
68 | } | ||||
69 | |||||
70 | sub day_stand_alone_abbreviated { $_[0]->day_format_abbreviated() } | ||||
71 | |||||
72 | { | ||||
73 | 2 | 1µ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 | |||||
77 | sub day_stand_alone_wide { $_[0]->day_format_wide() } | ||||
78 | |||||
79 | { | ||||
80 | 2 | 500ns | my $era_abbreviated = [ "BC", "AD" ]; | ||
81 | sub era_abbreviated { return $era_abbreviated } | ||||
82 | } | ||||
83 | { | ||||
84 | 2 | 500ns | my $era_narrow = [ "B", "A" ]; | ||
85 | sub era_narrow { return $era_narrow } | ||||
86 | } | ||||
87 | { | ||||
88 | 2 | 500ns | my $era_wide = [ "Before\ Christ", "Anno\ Domini" ]; | ||
89 | sub era_wide { return $era_wide } | ||||
90 | } | ||||
91 | { | ||||
92 | 2 | 200ns | my $first_day_of_week = "1"; | ||
93 | sub first_day_of_week { return $first_day_of_week } | ||||
94 | } | ||||
95 | |||||
96 | { | ||||
97 | 2 | 2µs | my $month_format_abbreviated = [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]; | ||
98 | 5 | 13µs | # spent 9µs within DateTime::Locale::en::month_format_abbreviated which was called 5 times, avg 2µs/call:
# 5 times (9µs+0s) by DateTime::Locale::Base::month_abbreviations at line 186 of DateTime/Locale/Base.pm, avg 2µs/call | ||
99 | } | ||||
100 | |||||
101 | sub month_format_narrow { $_[0]->month_stand_alone_narrow() } | ||||
102 | |||||
103 | { | ||||
104 | 2 | 2µs | my $month_format_wide = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; | ||
105 | 5 | 14µs | # spent 8µs within DateTime::Locale::en::month_format_wide which was called 5 times, avg 2µs/call:
# 5 times (8µs+0s) by DateTime::Locale::Base::month_names at line 185 of DateTime/Locale/Base.pm, avg 2µs/call | ||
106 | } | ||||
107 | |||||
108 | sub month_stand_alone_abbreviated { $_[0]->month_format_abbreviated() } | ||||
109 | |||||
110 | { | ||||
111 | 2 | 2µ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 | |||||
115 | sub month_stand_alone_wide { $_[0]->month_format_wide() } | ||||
116 | |||||
117 | { | ||||
118 | 2 | 700ns | my $quarter_format_abbreviated = [ "Q1", "Q2", "Q3", "Q4" ]; | ||
119 | sub quarter_format_abbreviated { return $quarter_format_abbreviated } | ||||
120 | } | ||||
121 | |||||
122 | sub quarter_format_narrow { $_[0]->quarter_stand_alone_narrow() } | ||||
123 | |||||
124 | { | ||||
125 | 2 | 800ns | my $quarter_format_wide = [ "1st\ quarter", "2nd\ quarter", "3rd\ quarter", "4th\ quarter" ]; | ||
126 | sub quarter_format_wide { return $quarter_format_wide } | ||||
127 | } | ||||
128 | |||||
129 | sub quarter_stand_alone_abbreviated { $_[0]->quarter_format_abbreviated() } | ||||
130 | |||||
131 | { | ||||
132 | 2 | 800ns | my $quarter_stand_alone_narrow = [ "1", "2", "3", "4" ]; | ||
133 | sub quarter_stand_alone_narrow { return $quarter_stand_alone_narrow } | ||||
134 | } | ||||
135 | |||||
136 | sub quarter_stand_alone_wide { $_[0]->quarter_format_wide() } | ||||
137 | |||||
138 | { | ||||
139 | 2 | 300ns | my $time_format_full = "h\:mm\:ss\ a\ zzzz"; | ||
140 | sub time_format_full { return $time_format_full } | ||||
141 | } | ||||
142 | |||||
143 | { | ||||
144 | 2 | 300ns | my $time_format_long = "h\:mm\:ss\ a\ z"; | ||
145 | sub time_format_long { return $time_format_long } | ||||
146 | } | ||||
147 | |||||
148 | { | ||||
149 | 2 | 1µs | my $time_format_medium = "h\:mm\:ss\ a"; | ||
150 | 10 | 26µs | # spent 14µs within DateTime::Locale::en::time_format_medium which was called 10 times, avg 1µs/call:
# 5 times (9µs+0s) by DateTime::Locale::Base::time_format_default at line 65 of DateTime/Locale/Base.pm, avg 2µs/call
# 5 times (5µs+0s) by DateTime::Locale::Base::_make_datetime_format at line 160 of DateTime/Locale/Base.pm, avg 940ns/call | ||
151 | } | ||||
152 | |||||
153 | { | ||||
154 | 2 | 200ns | my $time_format_short = "h\:mm\ a"; | ||
155 | sub time_format_short { return $time_format_short } | ||||
156 | } | ||||
157 | |||||
158 | { | ||||
159 | 2 | 200ns | my $_format_for_EEEd = "d\ EEE"; | ||
160 | sub _format_for_EEEd { return $_format_for_EEEd } | ||||
161 | } | ||||
162 | |||||
163 | { | ||||
164 | 2 | 200ns | my $_format_for_Hm = "H\:mm"; | ||
165 | sub _format_for_Hm { return $_format_for_Hm } | ||||
166 | } | ||||
167 | |||||
168 | { | ||||
169 | 2 | 200ns | my $_format_for_Hms = "H\:mm\:ss"; | ||
170 | sub _format_for_Hms { return $_format_for_Hms } | ||||
171 | } | ||||
172 | |||||
173 | { | ||||
174 | 2 | 200ns | my $_format_for_M = "L"; | ||
175 | sub _format_for_M { return $_format_for_M } | ||||
176 | } | ||||
177 | |||||
178 | { | ||||
179 | 2 | 200ns | my $_format_for_MEd = "E\,\ M\/d"; | ||
180 | sub _format_for_MEd { return $_format_for_MEd } | ||||
181 | } | ||||
182 | |||||
183 | { | ||||
184 | 2 | 200ns | my $_format_for_MMM = "LLL"; | ||
185 | sub _format_for_MMM { return $_format_for_MMM } | ||||
186 | } | ||||
187 | |||||
188 | { | ||||
189 | 2 | 200ns | my $_format_for_MMMEd = "E\,\ MMM\ d"; | ||
190 | sub _format_for_MMMEd { return $_format_for_MMMEd } | ||||
191 | } | ||||
192 | |||||
193 | { | ||||
194 | 2 | 200ns | my $_format_for_MMMMEd = "E\,\ MMMM\ d"; | ||
195 | sub _format_for_MMMMEd { return $_format_for_MMMMEd } | ||||
196 | } | ||||
197 | |||||
198 | { | ||||
199 | 2 | 200ns | my $_format_for_MMMMd = "MMMM\ d"; | ||
200 | sub _format_for_MMMMd { return $_format_for_MMMMd } | ||||
201 | } | ||||
202 | |||||
203 | { | ||||
204 | 2 | 200ns | my $_format_for_MMMd = "MMM\ d"; | ||
205 | sub _format_for_MMMd { return $_format_for_MMMd } | ||||
206 | } | ||||
207 | |||||
208 | { | ||||
209 | 2 | 200ns | my $_format_for_Md = "M\/d"; | ||
210 | sub _format_for_Md { return $_format_for_Md } | ||||
211 | } | ||||
212 | |||||
213 | { | ||||
214 | 2 | 200ns | my $_format_for_d = "d"; | ||
215 | sub _format_for_d { return $_format_for_d } | ||||
216 | } | ||||
217 | |||||
218 | { | ||||
219 | 2 | 200ns | my $_format_for_hm = "h\:mm\ a"; | ||
220 | sub _format_for_hm { return $_format_for_hm } | ||||
221 | } | ||||
222 | |||||
223 | { | ||||
224 | 2 | 200ns | my $_format_for_ms = "mm\:ss"; | ||
225 | sub _format_for_ms { return $_format_for_ms } | ||||
226 | } | ||||
227 | |||||
228 | { | ||||
229 | 2 | 200ns | my $_format_for_y = "y"; | ||
230 | sub _format_for_y { return $_format_for_y } | ||||
231 | } | ||||
232 | |||||
233 | { | ||||
234 | 2 | 200ns | my $_format_for_yM = "M\/yyyy"; | ||
235 | sub _format_for_yM { return $_format_for_yM } | ||||
236 | } | ||||
237 | |||||
238 | { | ||||
239 | 2 | 200ns | my $_format_for_yMEd = "EEE\,\ M\/d\/yyyy"; | ||
240 | sub _format_for_yMEd { return $_format_for_yMEd } | ||||
241 | } | ||||
242 | |||||
243 | { | ||||
244 | 2 | 200ns | my $_format_for_yMMM = "MMM\ y"; | ||
245 | sub _format_for_yMMM { return $_format_for_yMMM } | ||||
246 | } | ||||
247 | |||||
248 | { | ||||
249 | 2 | 200ns | my $_format_for_yMMMEd = "EEE\,\ MMM\ d\,\ y"; | ||
250 | sub _format_for_yMMMEd { return $_format_for_yMMMEd } | ||||
251 | } | ||||
252 | |||||
253 | { | ||||
254 | 2 | 200ns | my $_format_for_yMMMM = "MMMM\ y"; | ||
255 | sub _format_for_yMMMM { return $_format_for_yMMMM } | ||||
256 | } | ||||
257 | |||||
258 | { | ||||
259 | 2 | 200ns | my $_format_for_yQ = "Q\ yyyy"; | ||
260 | sub _format_for_yQ { return $_format_for_yQ } | ||||
261 | } | ||||
262 | |||||
263 | { | ||||
264 | 2 | 200ns | my $_format_for_yQQQ = "QQQ\ y"; | ||
265 | sub _format_for_yQQQ { return $_format_for_yQQQ } | ||||
266 | } | ||||
267 | |||||
268 | { | ||||
269 | 2 | 7µ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 | |||||
297 | 1 | 68µs | 1; | ||
298 | |||||
299 | __END__ | ||||
300 | |||||
301 | |||||
302 | =pod | ||||
303 | |||||
304 | =encoding utf8 | ||||
305 | |||||
306 | =head1 NAME | ||||
307 | |||||
308 | DateTime::Locale::en | ||||
309 | |||||
310 | =head1 SYNOPSIS | ||||
311 | |||||
312 | use DateTime; | ||||
313 | |||||
314 | my $dt = DateTime->now( locale => 'en' ); | ||||
315 | print $dt->month_name(); | ||||
316 | |||||
317 | =head1 DESCRIPTION | ||||
318 | |||||
319 | This is the DateTime locale package for English. | ||||
320 | |||||
321 | =head1 DATA | ||||
322 | |||||
323 | This locale inherits from the L<DateTime::Locale::root> locale. | ||||
324 | |||||
325 | It contains the following data. | ||||
326 | |||||
327 | =head2 Days | ||||
328 | |||||
329 | =head3 Wide (format) | ||||
330 | |||||
331 | Monday | ||||
332 | Tuesday | ||||
333 | Wednesday | ||||
334 | Thursday | ||||
335 | Friday | ||||
336 | Saturday | ||||
337 | Sunday | ||||
338 | |||||
339 | =head3 Abbreviated (format) | ||||
340 | |||||
341 | Mon | ||||
342 | Tue | ||||
343 | Wed | ||||
344 | Thu | ||||
345 | Fri | ||||
346 | Sat | ||||
347 | Sun | ||||
348 | |||||
349 | =head3 Narrow (format) | ||||
350 | |||||
351 | M | ||||
352 | T | ||||
353 | W | ||||
354 | T | ||||
355 | F | ||||
356 | S | ||||
357 | S | ||||
358 | |||||
359 | =head3 Wide (stand-alone) | ||||
360 | |||||
361 | Monday | ||||
362 | Tuesday | ||||
363 | Wednesday | ||||
364 | Thursday | ||||
365 | Friday | ||||
366 | Saturday | ||||
367 | Sunday | ||||
368 | |||||
369 | =head3 Abbreviated (stand-alone) | ||||
370 | |||||
371 | Mon | ||||
372 | Tue | ||||
373 | Wed | ||||
374 | Thu | ||||
375 | Fri | ||||
376 | Sat | ||||
377 | Sun | ||||
378 | |||||
379 | =head3 Narrow (stand-alone) | ||||
380 | |||||
381 | M | ||||
382 | T | ||||
383 | W | ||||
384 | T | ||||
385 | F | ||||
386 | S | ||||
387 | S | ||||
388 | |||||
389 | =head2 Months | ||||
390 | |||||
391 | =head3 Wide (format) | ||||
392 | |||||
393 | January | ||||
394 | February | ||||
395 | March | ||||
396 | April | ||||
397 | May | ||||
398 | June | ||||
399 | July | ||||
400 | August | ||||
401 | September | ||||
402 | October | ||||
403 | November | ||||
404 | December | ||||
405 | |||||
406 | =head3 Abbreviated (format) | ||||
407 | |||||
408 | Jan | ||||
409 | Feb | ||||
410 | Mar | ||||
411 | Apr | ||||
412 | May | ||||
413 | Jun | ||||
414 | Jul | ||||
415 | Aug | ||||
416 | Sep | ||||
417 | Oct | ||||
418 | Nov | ||||
419 | Dec | ||||
420 | |||||
421 | =head3 Narrow (format) | ||||
422 | |||||
423 | J | ||||
424 | F | ||||
425 | M | ||||
426 | A | ||||
427 | M | ||||
428 | J | ||||
429 | J | ||||
430 | A | ||||
431 | S | ||||
432 | O | ||||
433 | N | ||||
434 | D | ||||
435 | |||||
436 | =head3 Wide (stand-alone) | ||||
437 | |||||
438 | January | ||||
439 | February | ||||
440 | March | ||||
441 | April | ||||
442 | May | ||||
443 | June | ||||
444 | July | ||||
445 | August | ||||
446 | September | ||||
447 | October | ||||
448 | November | ||||
449 | December | ||||
450 | |||||
451 | =head3 Abbreviated (stand-alone) | ||||
452 | |||||
453 | Jan | ||||
454 | Feb | ||||
455 | Mar | ||||
456 | Apr | ||||
457 | May | ||||
458 | Jun | ||||
459 | Jul | ||||
460 | Aug | ||||
461 | Sep | ||||
462 | Oct | ||||
463 | Nov | ||||
464 | Dec | ||||
465 | |||||
466 | =head3 Narrow (stand-alone) | ||||
467 | |||||
468 | J | ||||
469 | F | ||||
470 | M | ||||
471 | A | ||||
472 | M | ||||
473 | J | ||||
474 | J | ||||
475 | A | ||||
476 | S | ||||
477 | O | ||||
478 | N | ||||
479 | D | ||||
480 | |||||
481 | =head2 Quarters | ||||
482 | |||||
483 | =head3 Wide (format) | ||||
484 | |||||
485 | 1st quarter | ||||
486 | 2nd quarter | ||||
487 | 3rd quarter | ||||
488 | 4th quarter | ||||
489 | |||||
490 | =head3 Abbreviated (format) | ||||
491 | |||||
492 | Q1 | ||||
493 | Q2 | ||||
494 | Q3 | ||||
495 | Q4 | ||||
496 | |||||
497 | =head3 Narrow (format) | ||||
498 | |||||
499 | 1 | ||||
500 | 2 | ||||
501 | 3 | ||||
502 | 4 | ||||
503 | |||||
504 | =head3 Wide (stand-alone) | ||||
505 | |||||
506 | 1st quarter | ||||
507 | 2nd quarter | ||||
508 | 3rd quarter | ||||
509 | 4th quarter | ||||
510 | |||||
511 | =head3 Abbreviated (stand-alone) | ||||
512 | |||||
513 | Q1 | ||||
514 | Q2 | ||||
515 | Q3 | ||||
516 | Q4 | ||||
517 | |||||
518 | =head3 Narrow (stand-alone) | ||||
519 | |||||
520 | 1 | ||||
521 | 2 | ||||
522 | 3 | ||||
523 | 4 | ||||
524 | |||||
525 | =head2 Eras | ||||
526 | |||||
527 | =head3 Wide | ||||
528 | |||||
529 | Before Christ | ||||
530 | Anno Domini | ||||
531 | |||||
532 | =head3 Abbreviated | ||||
533 | |||||
534 | BC | ||||
535 | AD | ||||
536 | |||||
537 | =head3 Narrow | ||||
538 | |||||
539 | B | ||||
540 | A | ||||
541 | |||||
542 | =head2 Date Formats | ||||
543 | |||||
544 | =head3 Full | ||||
545 | |||||
546 | 2008-02-05T18:30:30 = Tuesday, February 5, 2008 | ||||
547 | 1995-12-22T09:05:02 = Friday, December 22, 1995 | ||||
548 | -0010-09-15T04:44:23 = Saturday, September 15, -10 | ||||
549 | |||||
550 | =head3 Long | ||||
551 | |||||
552 | 2008-02-05T18:30:30 = February 5, 2008 | ||||
553 | 1995-12-22T09:05:02 = December 22, 1995 | ||||
554 | -0010-09-15T04:44:23 = September 15, -10 | ||||
555 | |||||
556 | =head3 Medium | ||||
557 | |||||
558 | 2008-02-05T18:30:30 = Feb 5, 2008 | ||||
559 | 1995-12-22T09:05:02 = Dec 22, 1995 | ||||
560 | -0010-09-15T04:44:23 = Sep 15, -10 | ||||
561 | |||||
562 | =head3 Short | ||||
563 | |||||
564 | 2008-02-05T18:30:30 = 2/5/08 | ||||
565 | 1995-12-22T09:05:02 = 12/22/95 | ||||
566 | -0010-09-15T04:44:23 = 9/15/10 | ||||
567 | |||||
568 | =head3 Default | ||||
569 | |||||
570 | 2008-02-05T18:30:30 = Feb 5, 2008 | ||||
571 | 1995-12-22T09:05:02 = Dec 22, 1995 | ||||
572 | -0010-09-15T04:44:23 = Sep 15, -10 | ||||
573 | |||||
574 | =head2 Time Formats | ||||
575 | |||||
576 | =head3 Full | ||||
577 | |||||
578 | 2008-02-05T18:30:30 = 6:30:30 PM UTC | ||||
579 | 1995-12-22T09:05:02 = 9:05:02 AM UTC | ||||
580 | -0010-09-15T04:44:23 = 4:44:23 AM UTC | ||||
581 | |||||
582 | =head3 Long | ||||
583 | |||||
584 | 2008-02-05T18:30:30 = 6:30:30 PM UTC | ||||
585 | 1995-12-22T09:05:02 = 9:05:02 AM UTC | ||||
586 | -0010-09-15T04:44:23 = 4:44:23 AM UTC | ||||
587 | |||||
588 | =head3 Medium | ||||
589 | |||||
590 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
591 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
592 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
593 | |||||
594 | =head3 Short | ||||
595 | |||||
596 | 2008-02-05T18:30:30 = 6:30 PM | ||||
597 | 1995-12-22T09:05:02 = 9:05 AM | ||||
598 | -0010-09-15T04:44:23 = 4:44 AM | ||||
599 | |||||
600 | =head3 Default | ||||
601 | |||||
602 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
603 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
604 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
605 | |||||
606 | =head2 Datetime Formats | ||||
607 | |||||
608 | =head3 Full | ||||
609 | |||||
610 | 2008-02-05T18:30:30 = Tuesday, February 5, 2008 6:30:30 PM UTC | ||||
611 | 1995-12-22T09:05:02 = Friday, December 22, 1995 9:05:02 AM UTC | ||||
612 | -0010-09-15T04:44:23 = Saturday, September 15, -10 4:44:23 AM UTC | ||||
613 | |||||
614 | =head3 Long | ||||
615 | |||||
616 | 2008-02-05T18:30:30 = February 5, 2008 6:30:30 PM UTC | ||||
617 | 1995-12-22T09:05:02 = December 22, 1995 9:05:02 AM UTC | ||||
618 | -0010-09-15T04:44:23 = September 15, -10 4:44:23 AM UTC | ||||
619 | |||||
620 | =head3 Medium | ||||
621 | |||||
622 | 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM | ||||
623 | 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM | ||||
624 | -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM | ||||
625 | |||||
626 | =head3 Short | ||||
627 | |||||
628 | 2008-02-05T18:30:30 = 2/5/08 6:30 PM | ||||
629 | 1995-12-22T09:05:02 = 12/22/95 9:05 AM | ||||
630 | -0010-09-15T04:44:23 = 9/15/10 4:44 AM | ||||
631 | |||||
632 | =head3 Default | ||||
633 | |||||
634 | 2008-02-05T18:30:30 = Feb 5, 2008 6:30:30 PM | ||||
635 | 1995-12-22T09:05:02 = Dec 22, 1995 9:05:02 AM | ||||
636 | -0010-09-15T04:44:23 = Sep 15, -10 4:44:23 AM | ||||
637 | |||||
638 | =head2 Available Formats | ||||
639 | |||||
640 | =head3 EEEd (d EEE) | ||||
641 | |||||
642 | 2008-02-05T18:30:30 = 5 Tue | ||||
643 | 1995-12-22T09:05:02 = 22 Fri | ||||
644 | -0010-09-15T04:44:23 = 15 Sat | ||||
645 | |||||
646 | =head3 Hm (H:mm) | ||||
647 | |||||
648 | 2008-02-05T18:30:30 = 18:30 | ||||
649 | 1995-12-22T09:05:02 = 9:05 | ||||
650 | -0010-09-15T04:44:23 = 4:44 | ||||
651 | |||||
652 | =head3 Hms (H:mm:ss) | ||||
653 | |||||
654 | 2008-02-05T18:30:30 = 18:30:30 | ||||
655 | 1995-12-22T09:05:02 = 9:05:02 | ||||
656 | -0010-09-15T04:44:23 = 4:44:23 | ||||
657 | |||||
658 | =head3 M (L) | ||||
659 | |||||
660 | 2008-02-05T18:30:30 = 2 | ||||
661 | 1995-12-22T09:05:02 = 12 | ||||
662 | -0010-09-15T04:44:23 = 9 | ||||
663 | |||||
664 | =head3 MEd (E, M/d) | ||||
665 | |||||
666 | 2008-02-05T18:30:30 = Tue, 2/5 | ||||
667 | 1995-12-22T09:05:02 = Fri, 12/22 | ||||
668 | -0010-09-15T04:44:23 = Sat, 9/15 | ||||
669 | |||||
670 | =head3 MMM (LLL) | ||||
671 | |||||
672 | 2008-02-05T18:30:30 = Feb | ||||
673 | 1995-12-22T09:05:02 = Dec | ||||
674 | -0010-09-15T04:44:23 = Sep | ||||
675 | |||||
676 | =head3 MMMEd (E, MMM d) | ||||
677 | |||||
678 | 2008-02-05T18:30:30 = Tue, Feb 5 | ||||
679 | 1995-12-22T09:05:02 = Fri, Dec 22 | ||||
680 | -0010-09-15T04:44:23 = Sat, Sep 15 | ||||
681 | |||||
682 | =head3 MMMMEd (E, MMMM d) | ||||
683 | |||||
684 | 2008-02-05T18:30:30 = Tue, February 5 | ||||
685 | 1995-12-22T09:05:02 = Fri, December 22 | ||||
686 | -0010-09-15T04:44:23 = Sat, September 15 | ||||
687 | |||||
688 | =head3 MMMMd (MMMM d) | ||||
689 | |||||
690 | 2008-02-05T18:30:30 = February 5 | ||||
691 | 1995-12-22T09:05:02 = December 22 | ||||
692 | -0010-09-15T04:44:23 = September 15 | ||||
693 | |||||
694 | =head3 MMMd (MMM d) | ||||
695 | |||||
696 | 2008-02-05T18:30:30 = Feb 5 | ||||
697 | 1995-12-22T09:05:02 = Dec 22 | ||||
698 | -0010-09-15T04:44:23 = Sep 15 | ||||
699 | |||||
700 | =head3 Md (M/d) | ||||
701 | |||||
702 | 2008-02-05T18:30:30 = 2/5 | ||||
703 | 1995-12-22T09:05:02 = 12/22 | ||||
704 | -0010-09-15T04:44:23 = 9/15 | ||||
705 | |||||
706 | =head3 d (d) | ||||
707 | |||||
708 | 2008-02-05T18:30:30 = 5 | ||||
709 | 1995-12-22T09:05:02 = 22 | ||||
710 | -0010-09-15T04:44:23 = 15 | ||||
711 | |||||
712 | =head3 hm (h:mm a) | ||||
713 | |||||
714 | 2008-02-05T18:30:30 = 6:30 PM | ||||
715 | 1995-12-22T09:05:02 = 9:05 AM | ||||
716 | -0010-09-15T04:44:23 = 4:44 AM | ||||
717 | |||||
718 | =head3 hms (h:mm:ss a) | ||||
719 | |||||
720 | 2008-02-05T18:30:30 = 6:30:30 PM | ||||
721 | 1995-12-22T09:05:02 = 9:05:02 AM | ||||
722 | -0010-09-15T04:44:23 = 4:44:23 AM | ||||
723 | |||||
724 | =head3 ms (mm:ss) | ||||
725 | |||||
726 | 2008-02-05T18:30:30 = 30:30 | ||||
727 | 1995-12-22T09:05:02 = 05:02 | ||||
728 | -0010-09-15T04:44:23 = 44:23 | ||||
729 | |||||
730 | =head3 y (y) | ||||
731 | |||||
732 | 2008-02-05T18:30:30 = 2008 | ||||
733 | 1995-12-22T09:05:02 = 1995 | ||||
734 | -0010-09-15T04:44:23 = -10 | ||||
735 | |||||
736 | =head3 yM (M/yyyy) | ||||
737 | |||||
738 | 2008-02-05T18:30:30 = 2/2008 | ||||
739 | 1995-12-22T09:05:02 = 12/1995 | ||||
740 | -0010-09-15T04:44:23 = 9/-010 | ||||
741 | |||||
742 | =head3 yMEd (EEE, M/d/yyyy) | ||||
743 | |||||
744 | 2008-02-05T18:30:30 = Tue, 2/5/2008 | ||||
745 | 1995-12-22T09:05:02 = Fri, 12/22/1995 | ||||
746 | -0010-09-15T04:44:23 = Sat, 9/15/-010 | ||||
747 | |||||
748 | =head3 yMMM (MMM y) | ||||
749 | |||||
750 | 2008-02-05T18:30:30 = Feb 2008 | ||||
751 | 1995-12-22T09:05:02 = Dec 1995 | ||||
752 | -0010-09-15T04:44:23 = Sep -10 | ||||
753 | |||||
754 | =head3 yMMMEd (EEE, MMM d, y) | ||||
755 | |||||
756 | 2008-02-05T18:30:30 = Tue, Feb 5, 2008 | ||||
757 | 1995-12-22T09:05:02 = Fri, Dec 22, 1995 | ||||
758 | -0010-09-15T04:44:23 = Sat, Sep 15, -10 | ||||
759 | |||||
760 | =head3 yMMMM (MMMM y) | ||||
761 | |||||
762 | 2008-02-05T18:30:30 = February 2008 | ||||
763 | 1995-12-22T09:05:02 = December 1995 | ||||
764 | -0010-09-15T04:44:23 = September -10 | ||||
765 | |||||
766 | =head3 yQ (Q yyyy) | ||||
767 | |||||
768 | 2008-02-05T18:30:30 = 1 2008 | ||||
769 | 1995-12-22T09:05:02 = 4 1995 | ||||
770 | -0010-09-15T04:44:23 = 3 -010 | ||||
771 | |||||
772 | =head3 yQQQ (QQQ y) | ||||
773 | |||||
774 | 2008-02-05T18:30:30 = Q1 2008 | ||||
775 | 1995-12-22T09:05:02 = Q4 1995 | ||||
776 | -0010-09-15T04:44:23 = Q3 -10 | ||||
777 | |||||
778 | =head2 Miscellaneous | ||||
779 | |||||
780 | =head3 Prefers 24 hour time? | ||||
781 | |||||
782 | No | ||||
783 | |||||
784 | =head3 Local first day of the week | ||||
785 | |||||
786 | Monday | ||||
787 | |||||
788 | |||||
789 | =head1 SUPPORT | ||||
790 | |||||
791 | See L<DateTime::Locale>. | ||||
792 | |||||
793 | =head1 AUTHOR | ||||
794 | |||||
795 | Dave Rolsky <autarch@urth.org> | ||||
796 | |||||
797 | =head1 COPYRIGHT | ||||
798 | |||||
799 | Copyright (c) 2008 David Rolsky. All rights reserved. This program is | ||||
800 | free software; you can redistribute it and/or modify it under the same | ||||
801 | terms as Perl itself. | ||||
802 | |||||
803 | This module was generated from data provided by the CLDR project, see | ||||
804 | the LICENSE.cldr in this distribution for details on the CLDR data's | ||||
805 | license. | ||||
806 | |||||
807 | =cut |