NAME
DateTime::Format::Natural::Lang::EN - English language metadata
DESCRIPTION
DateTime::Format::Natural::Lang::EN
provides the english specific regular expressions and variables. This class is loaded if the user either specifies the english language or implicitly.
EXAMPLES
Below are some examples of human readable date/time input in english (be aware that the parser doesn't differentiate between lower/upper case):
Simple
5am
4pm
thursday
november
friday 13:00
mon 2:35
6 in the morning
sat 7 in the evening
yesterday
today
tomorrow
this tuesday
next month
next mai
this morning
this second
yesterday at 4:00
last january
last friday at 20:00
last week tuesday
tomorrow at 6:45pm
afternoon yesterday
thursday last week
Complex
25 seconds ago
10 minutes ago
7 hours ago
40 days ago
2 weeks ago
5 months ago
3 years ago
7 days before now
7 days from now
4 weeks before now
4 weeks from now
13 months before now
13 months from now
2 years before now
2 years from now
in 3 hours
1 year ago tomorrow
3 months ago saturday at 5:00pm
4th day last week
3rd wednesday in november
3rd month next year
7 hours before tomorrow at noon
Timespans
Monday to Friday
1 April to 31 August
Specific Dates
January 11
11 January
dec 25
may 27th
October 2006
february 14, 2004
Friday
jan 3 2010
3 jan 2000
27/5/1979
4:00
17:00
SEE ALSO
DateTime::Format::Natural, DateTime, Date::Calc, http://datetime.perl.org
AUTHOR
Steven Schubiger <schubiger@cpan.org>
LICENSE
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.