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 relative
53 parse relative dates (ago => ago, from => from now, next => next, last
54 => last)
55
56 math_strings
57 useful strings when doing datetime math
58
59 timezone_map
60 maps unofficial timezones to official timezones for this language (CST
61 => America/Chicago)
62
64 Tom Heady
65 CPAN ID: thinc
66 Punch, Inc.
67 cpan@punch.net
68 http://www.punch.net/
69
71 Copyright 2011 Tom Heady.
72
73 This program is free software; you can redistribute it and/or modify it
74 under the terms of either:
75
76 • the GNU General Public License as published by the Free
77 Software Foundation; either version 1, or (at your option) any
78 later version, or
79
80 • the Artistic License.
81
83 DateTime::Format::Flexible
84
85
86
87perl v5.34.0 2021-0D7a-t2e2Time::Format::Flexible::lang::en(3)