1DateTime::Format::FlexiUbsleer::Cloanntgr:i:beunt(e3d)PDeartleTDiomceu:m:eFnotramtaito:n:Flexible::lang::en(3)
2
3
4
6 DateTime::Format::Flexible::lang::en - the english language plugin
7
9 You should not need to use this module directly.
10
11 If you only want to use one language, specify the lang property when
12 parsing a date.
13
14 example:
15
16 my $dt = DateTime::Format::Flexible->parse_datetime(
17 'Wed, Jun 10, 2009' ,
18 lang => ['en']
19 );
20 # $dt is now 2009-06-10T00:00:00
21
22 Note that this is not required, by default ALL languages are scanned
23 when trying to parse a date.
24
25 new
26 Instantiate a new instance of this module.
27
28 months
29 month name regular expressions along with the month numbers
30 (Jan(?:uary)? => 1)
31
32 days
33 day name regular expressions along the the day numbers (Mon(?:day)? =>
34 1)
35
36 day_numbers
37 maps day of month names to the corresponding numbers (first => 01)
38
39 hours
40 maps hour names to numbers (noon => 12:00:00)
41
42 remove_strings
43 strings to remove from the date (rd as in 3rd)
44
45 parse_time
46 searches for the string 'at' to help determine a time substring (sunday
47 at 3:00)
48
49 string_dates
50 maps string names to real dates (now => DateTime->now)
51
52 math_strings
53 useful strings when doing datetime math
54
55 timezone_map
56 maps unofficial timezones to official timezones for this language (CST
57 => America/Chicago)
58
60 Tom Heady
61 CPAN ID: thinc
62 Punch, Inc.
63 cpan@punch.net
64 http://www.punch.net/
65
67 Copyright 2010 Tom Heady.
68
69 This program is free software; you can redistribute it and/or
70 modify it under the terms of either:
71
72 · the GNU General Public License as published by the Free
73 Software Foundation; either version 1, or (at your option) any
74 later version, or
75
76 · the Artistic License version 2.0.
77
79 DateTime::Format::Flexible
80
81
82
83perl v5.12.0 2010-0D3a-t1e0Time::Format::Flexible::lang::en(3)