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

SEE ALSO

377       DateTime::Format::Natural
378

AUTHOR

380       Steven Schubiger <schubiger@cpan.org>
381

LICENSE

383       This program is free software; you may redistribute it and/or modify it
384       under the same terms as Perl itself.
385
386       See <http://dev.perl.org/licenses/>
387
388
389
390perl v5.28.1                      2019-04D-a0t1eTime::Format::Natural::Lang::EN(3)
Impressum