The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

DateTime::Format::Natural::Lang::EN provides the english specific grammar 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

 now
 today
 yesterday
 tomorrow
 morning
 afternoon
 evening
 noon
 midnight
 this morning
 this afternoon
 this evening
 yesterday morning
 yesterday afternoon
 yesterday evening
 today morning
 today afternoon
 today evening
 tomorrow morning
 tomorrow afternoon
 tomorrow evening
 march
 4th february
 november 3rd 
 saturday
 last wednesday
 last june
 last month
 last year
 next friday
 next october
 next month
 next year
 this thursday
 this month
 6 am
 5am
 5am yesterday
 5am today
 5am tomorrow
 8 pm
 4pm
 4pm yesterday
 4pm today
 4pm tomorrow
 sunday 11:00
 mon 2:35
 13:45
 may 2002
 2nd monday
 100th day
 6 in the morning
 sat 7 in the evening
 this second
 yesterday at 4:00
 last january
 last friday at 20:00
 tomorrow at 6:45pm
 yesterday afternoon
 thursday last week

Complex

 6 in the morning
 4 in the afternoon
 9 in the evening
 25 seconds ago
 10 minutes ago
 7 hours ago
 40 days ago
 2 weeks ago
 5 months ago
 3 years ago
 tomorrow 25 seconds ago
 tomorrow 10 minutes ago
 tomorrow 7 hours ago
 tomorrow 40 day ago
 tomorrow 2 weeks ago
 tomorrow 5 months ago
 tomorrow 3 years ago
 yesterday 25 seconds ago
 yesterday 10 minutes ago
 yesterday 7 hours ago
 yesterday 40 days ago
 yesterday 2 weeks ago
 yesterday 5 months ago
 yesterday 3 years ago
 fri 3 months ago at 5am
 wednesday 1 month ago at 8pm
 8 hours before now
 8 hours from now
 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
 tuesday 4 in the morning
 thursday 2 in the afternoon
 monday 6 in the evening
 last sunday at 21:45
 last week friday
 monday last week
 2nd day last week
 10th day last month
 tuesday next week
 3rd day next month
 10th month next year
 in 42 minutes
 in 3 hours
 in 5 days
 wednesday this week
 3rd tuesday this november
 3 hours before tomorrow
 6 hours before yesterday
 9 hours after tomorrow
 12 hours after yesterday
 3 hours before noon
 6 hours after noon
 9 hours before midnight
 12 hours after midnight
 yesterday at noon
 yesterday at midnight
 today at noon
 today at midnight
 tomorrow at noon
 tomorrow at midnight
 yesterday at 16:00
 today at 6:00
 tomorrow at 12
 wednesday at 14:30
 2nd friday in august
 tomorrow 1 year ago
 saturday 3 months ago at 5:00pm
 4th day last week
 3rd wednesday in november
 3rd month next year

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

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.

See http://www.perl.com/perl/misc/Artistic.html