1DateTime::Format::NaturUasle:r:LCaonngt:r:iEbNu(t3e)d PeDralteDToicmuem:e:nFtoartmiaotn::Natural::Lang::EN(3)
2
3
4

NAME

6       DateTime::Format::Natural::Lang::EN - English language metadata
7

DESCRIPTION

9       "DateTime::Format::Natural::Lang::EN" provides the english specific
10       grammar and variables. This class is loaded if the user either
11       specifies the english language or implicitly.
12

EXAMPLES

14       Below are some examples of human readable date/time input in english
15       (be aware that the parser does not distinguish between lower/upper
16       case; furthermore, times are also parsable with precision in seconds):
17
18   Simple
19        now
20        yesterday
21        today
22        tomorrow
23        morning
24        afternoon
25        evening
26        noon
27        midnight
28        yesterday at noon
29        yesterday at midnight
30        today at noon
31        today at midnight
32        tomorrow at noon
33        tomorrow at midnight
34        this morning
35        this afternoon
36        this evening
37        yesterday morning
38        yesterday afternoon
39        yesterday evening
40        today morning
41        today afternoon
42        today evening
43        tomorrow morning
44        tomorrow afternoon
45        tomorrow evening
46        thursday morning
47        thursday afternoon
48        thursday evening
49        6:00 yesterday
50        6:00 today
51        6:00 tomorrow
52        5am yesterday
53        5am today
54        5am tomorrow
55        4pm yesterday
56        4pm today
57        4pm tomorrow
58        last second
59        this second
60        next second
61        last minute
62        this minute
63        next minute
64        last hour
65        this hour
66        next hour
67        last day
68        this day
69        next day
70        last week
71        this week
72        next week
73        last month
74        this month
75        next month
76        last year
77        this year
78        next year
79        last friday
80        this friday
81        next friday
82        tuesday last week
83        tuesday this week
84        tuesday next week
85        last week wednesday
86        this week wednesday
87        next week wednesday
88        10 seconds ago
89        10 minutes ago
90        10 hours ago
91        10 days ago
92        10 weeks ago
93        10 months ago
94        10 years ago
95        in 5 seconds
96        in 5 minutes
97        in 5 hours
98        in 5 days
99        in 5 weeks
100        in 5 months
101        in 5 years
102        saturday
103        sunday 11:00
104        yesterday at 4:00
105        today at 4:00
106        tomorrow at 4:00
107        yesterday at 6:45am
108        today at 6:45am
109        tomorrow at 6:45am
110        yesterday at 6:45pm
111        today at 6:45pm
112        tomorrow at 6:45pm
113        yesterday at 2:32 AM
114        today at 2:32 AM
115        tomorrow at 2:32 AM
116        yesterday at 2:32 PM
117        today at 2:32 PM
118        tomorrow at 2:32 PM
119        yesterday 02:32
120        today 02:32
121        tomorrow 02:32
122        yesterday 2:32am
123        today 2:32am
124        tomorrow 2:32am
125        yesterday 2:32pm
126        today 2:32pm
127        tomorrow 2:32pm
128        wednesday at 14:30
129        wednesday at 02:30am
130        wednesday at 02:30pm
131        wednesday 14:30
132        wednesday 02:30am
133        wednesday 02:30pm
134        friday 03:00 am
135        friday 03:00 pm
136        sunday at 05:00 am
137        sunday at 05:00 pm
138        2nd monday
139        100th day
140        4th february
141        november 3rd
142        last june
143        next october
144        6 am
145        5am
146        5:30am
147        8 pm
148        4pm
149        4:20pm
150        06:56:06 am
151        06:56:06 pm
152        mon 2:35
153        1:00 sun
154        1am sun
155        1pm sun
156        1:00 on sun
157        1am on sun
158        1pm on sun
159        12:14 PM
160        12:14 AM
161
162   Complex
163        yesterday 7 seconds ago
164        yesterday 7 minutes ago
165        yesterday 7 hours ago
166        yesterday 7 days ago
167        yesterday 7 weeks ago
168        yesterday 7 months ago
169        yesterday 7 years ago
170        today 5 seconds ago
171        today 5 minutes ago
172        today 5 hours ago
173        today 5 days ago
174        today 5 weeks ago
175        today 5 months ago
176        today 5 years ago
177        tomorrow 3 seconds ago
178        tomorrow 3 minutes ago
179        tomorrow 3 hours ago
180        tomorrow 3 days ago
181        tomorrow 3 weeks ago
182        tomorrow 3 months ago
183        tomorrow 3 years ago
184        2 seconds before now
185        2 minutes before now
186        2 hours before now
187        2 days before now
188        2 weeks before now
189        2 months before now
190        2 years before now
191        4 seconds from now
192        4 minutes from now
193        4 hours from now
194        4 days from now
195        4 weeks from now
196        4 months from now
197        4 years from now
198        6 in the morning
199        4 in the afternoon
200        9 in the evening
201        monday 6 in the morning
202        monday 4 in the afternoon
203        monday 9 in the evening
204        last sunday at 21:45
205        monday last week
206        6th day last week
207        6th day this week
208        6th day next week
209        12th day last month
210        12th day this month
211        12th day next month
212        1st day last year
213        1st day this year
214        1st day next year
215        1st tuesday last november
216        1st tuesday this november
217        1st tuesday next november
218        11 january next year
219        11 january this year
220        11 january last year
221        6 hours before yesterday
222        6 hours before tomorrow
223        3 hours after yesterday
224        3 hours after tomorrow
225        10 hours before noon
226        10 hours before midnight
227        5 hours after noon
228        5 hours after midnight
229        noon last friday
230        midnight last friday
231        noon this friday
232        midnight this friday
233        noon next friday
234        midnight next friday
235        last friday at 20:00
236        this friday at 20:00
237        next friday at 20:00
238        1:00 last friday
239        1:00 this friday
240        1:00 next friday
241        1am last friday
242        1am this friday
243        1am next friday
244        1pm last friday
245        1pm this friday
246        1pm next friday
247        5 am last monday
248        5 am this monday
249        5 am next monday
250        5 pm last monday
251        5 pm this monday
252        5 pm next monday
253        last wednesday 7am
254        this wednesday 7am
255        next wednesday 7am
256        last wednesday 7pm
257        this wednesday 7pm
258        next wednesday 7pm
259        last tuesday 11 am
260        this tuesday 11 am
261        next tuesday 11 am
262        last tuesday 11 pm
263        this tuesday 11 pm
264        next tuesday 11 pm
265        yesterday at 13:00
266        today at 13:00
267        tomorrow at 13
268        2nd friday in august
269        3rd wednesday in november
270        tomorrow 1 year ago
271        saturday 3 months ago at 17:00
272        saturday 3 months ago at 5:00am
273        saturday 3 months ago at 5:00pm
274        11 january 2 years ago
275        4th day last week
276        8th month last year
277        8th month this year
278        8th month next year
279        6 mondays from now
280        fri 3 months ago at 5am
281        wednesday 1 month ago at 8pm
282        final thursday in april
283        last thursday in april
284
285   Timespans
286        monday to friday
287        1 April to 31 August
288        1999-12-31 to tomorrow
289        now to 2010-01-01
290        2009-03-10 9:00 to 11:00
291        26 oct 10:00 am to 11:00 am
292        jan 1 to 2
293        16:00 nov 6 to 17:00
294        may 2nd to 5th
295        100th day to 200th
296        6am dec 5 to 7am
297        1/3 to 2/3
298        2/3 to in 1 week
299        3/3 21:00 to in 5 days
300        first day of 2009 to last day of 2009
301        first day of may to last day of may
302        first to last day of 2008
303        first to last day of september
304        for 4 seconds
305        for 4 minutes
306        for 4 hours
307        for 4 days
308        for 4 weeks
309        for 4 months
310        for 4 years
311
312   Specific
313        march
314        january 11
315        11 january
316        18 oct 17:00
317        18 oct 5am
318        18 oct 5pm
319        18 oct 5 am
320        18 oct 5 pm
321        dec 25
322        feb 28 3:00
323        feb 28 3am
324        feb 28 3pm
325        feb 28 3 am
326        feb 28 3 pm
327        19:00 jul 1
328        7am jul 1
329        7pm jul 1
330        7 am jul 1
331        7 pm jul 1
332        jan 24, 2011 12:00
333        jan 24, 2011 12am
334        jan 24, 2011 12pm
335        may 27th
336        2005
337        march 1st 2009
338        October 2006
339        february 14, 2004
340        jan 3 2010
341        3 jan 2000
342        2010 october 28
343        2011-jan-04
344        27/5/1979
345        1/3
346        1/3 16:00
347        4:00
348        17:00
349        3:20:00
350        -5min
351        +2d
352        20111018000000
353
354   Aliases
355        5 mins ago
356        yesterday @ noon
357        tues this week
358        final thurs in sep
359        tues
360        thurs
361        thur
362

SEE ALSO

364       DateTime::Format::Natural
365

AUTHOR

367       Steven Schubiger <schubiger@cpan.org>
368

LICENSE

370       This program is free software; you may redistribute it and/or modify it
371       under the same terms as Perl itself.
372
373       See <http://dev.perl.org/licenses/>
374
375
376
377perl v5.12.4                      2011-11D-a0t6eTime::Format::Natural::Lang::EN(3)
Impressum