Debian Codegraph @

README

raw
1 NAME
2 Date::Manip - Date manipulation routines
3
4 DESCRIPTION
5 Date::Manip is a series of modules designed to make any common date/time
6 operation easy to do. Operations such as comparing two times,
7 determining a date a given amount of time from another, or parsing
8 international times are all easily done. It deals with time as it is
9 used in the Gregorian calendar (the one currently in use) with full
10 support for time changes due to daylight saving time.
11
12 From the very beginning, the main focus of Date::Manip has been to be
13 able to do ANY desired date/time operation easily. Many other modules
14 exist which may do a subset of these operations quicker or more
15 efficiently, but no other module can do all of the operations available
16 in Date::Manip.
17
18 Date::Manip has functionality to work with several fundamental types of
19 data.
20
21 dates
22 The word date is used extensively here and is somewhat misleading.
23 In Date::Manip, a date consists of three pieces of information: a
24 calendar date (year, month, day), a time of day (hour, minute,
25 second), and time zone information. Calendar dates and times are
26 fully handled. Time zones are handled as well, but depending on how
27 you use Date::Manip, there may be some limitations as discussed
28 below.
29
30 delta
31 A delta is an amount of time (i.e. the amount of time between two
32 different dates). Think of it as the duration of an event or the
33 amount of time between two dates.
34
35 A delta refers only to an amount of time. It includes no information
36 about a starting or ending date/time. Most people will think of a
37 delta as an amount of time, but the term 'time' is already used so
38 much in this module that I didn't want to use it here in order to
39 avoid confusion.
40
41 recurrence
42 A recurring event is something which occurs on a regular recurring
43 basis.
44
45 holidays and events
46 Holidays and events are basically named dates or recurrences.
47
48 Among other things, Date::Manip allow you to:
49
50 * Enter a date in practically any format you choose.
51
52 * Compare two dates, entered in widely different formats to determine
53 which is earlier.
54
55 * Extract any information you want from a date using a format string
56 similar to the Unix date command.
57
58 * Determine the amount of time between two dates, or add an amount of
59 time (a delta) to a date to get a second date.
60
61 * Work with dates using international formats (foreign month names,
62 12/10/95 referring to October rather than December, etc.).
63
64 * Convert dates from one timezone to another.
65
66 * To find a list of dates where a recurring event happens.
67
68 Each of these tasks is trivial (one or two lines at most) with this
69 package.
70
71 HOW TO USE DATE::MANIP
72 There are three different ways to use Date::Manip . There are three
73 interfaces (version 5 functional interface, version 6 functional, and
74 version 6 object-oriented). A complete description of each is included
75 in the Date::Manip::Interfaces document. The recommended (and the only
76 one with access to the full functionality of the module) is using the
77 Object-Oriented interface.
78
79 SEE ALSO
80 Because Date::Manip performs so many operations, the documentation is
81 extensive. It includes the following documents:
82
83 Information about the different interfaces
84 Read this for a detailed description of each of the interfaces,
85 including information on how to choose and use the interface best suited
86 to your situation.
87
88 Date::Manip::Interfaces
89 A complete description of the functional interfaces available. NOTE:
90 it is recommended that you use the OO interface wherever possible as
91 the functional interfaces have some limitations.
92
93 A description of the functional interfaces:
94 Date::Manip::DM5
95 The version 5 functional interface
96
97 Date::Manip::DM6
98 The version 6 functional interface
99
100 Objects and configuration
101 An introduction to the Date::Manip classes used by the object-oriented
102 interface and how to configure them:
103
104 Date::Manip::Objects
105 An overview of the various Date::Manip modules, and how to use them.
106
107 Date::Manip::Config
108 Information for configuring Date::Manip
109
110 Date::Manip object-oriented modules
111 These are the modules for using the object-oriented interface.
112
113 Date::Manip::Obj
114 This is the base class. All other classes listed here inherit the
115 methods defined in this class.
116
117 Date::Manip::Base
118 A module for doing low-level date operations.
119
120 Date::Manip::TZ
121 A module for working with time zones.
122
123 Date::Manip::Date
124 The module for working with dates.
125
126 Date::Manip::Delta
127 The module for working with deltas (amount of time).
128
129 Date::Manip::Recur
130 The module for working with recurrences (recurring dates).
131
132 Timezone information
133 Date::Manip::DM5abbrevs
134 Time zone abbreviations used in the version 5 interface.
135
136 Date::Manip::Zones
137 Time zone data included in Date::Manip used in the version 6
138 interfaces.
139
140 Miscellaneous information:
141 Date::Manip::Calc
142 Detailed information on how date calculations are done.
143
144 Date::Manip::Holidays
145 Information on defining and using holidays and events.
146
147 Date::Manip::ConfigFile
148 A sample config file.
149
150 Date::Manip::Lang
151 Information about the languages supported by Date::Manip and how to
152 add a new language.
153
154 Date::Manip::Lang::english
155 Date::Manip::Lang::catalan
156 Date::Manip::Lang::danish
157 Date::Manip::Lang::dutch
158 Date::Manip::Lang::finnish
159 Date::Manip::Lang::french
160 Date::Manip::Lang::german
161 Date::Manip::Lang::italian
162 Date::Manip::Lang::norwegian
163 Date::Manip::Lang::polish
164 Date::Manip::Lang::portugue
165 Date::Manip::Lang::romanian
166 Date::Manip::Lang::russian
167 Date::Manip::Lang::spanish
168 Date::Manip::Lang::swedish
169 Date::Manip::Lang::turkish
170 A description of the parseable words in each language currently
171 supported by Date::Manip.
172
173 Information about the module and administrative things:
174 Date::Manip::Migration5to6
175 Information on changes necessary to scripts when upgrading from 5.xx
176 to 6.xx.
177
178 Date::Manip::Changes5
179 Change log for Date::Manip 5.xx
180
181 Date::Manip::Changes5to6
182 Differences between version 5.xx and 6.00 (including information on
183 upgrading); this contains more details than the Migration5to6
184 document.
185
186 Date::Manip::Changes6
187 Change log for Date::Manip 6.xx
188
189 Date::Manip::Misc
190 Miscellaneous information about Date::Manip (who should use it;
191 acknowledgments).
192
193 Since many other date/time modules exist, some of which may do the
194 specific operation(s) you need faster, be sure to read "SHOULD I USE
195 DATE::MANIP" in Date::Manip::Misc before deciding which of the Date
196 and Time modules from CPAN is for you. However, if you want one
197 module to do it all, Date::Manip is the one to use.
198
199 Date::Manip::History
200 Musings on the history of Date::Manip written around it's 20th
201 birthday.
202
203 Date::Manip::Problems
204 Common problems and instructions for reporting bugs.
205
206 Date::Manip::Examples
207 Examples of how to use Date::Manip.
208
209 LICENSE
210 This script is free software; you can redistribute it and/or modify it
211 under the same terms as Perl itself.
212
213 AUTHOR
214 Sullivan Beck ([email protected])
215