|
Packit Service |
653591 |
NAME
|
|
Packit Service |
653591 |
Date::Manip - Date manipulation routines
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
DESCRIPTION
|
|
Packit Service |
653591 |
Date::Manip is a series of modules designed to make any common date/time
|
|
Packit Service |
653591 |
operation easy to do. Operations such as comparing two times,
|
|
Packit Service |
653591 |
determining a date a given amount of time from another, or parsing
|
|
Packit Service |
653591 |
international times are all easily done. It deals with time as it is
|
|
Packit Service |
653591 |
used in the Gregorian calendar (the one currently in use) with full
|
|
Packit Service |
653591 |
support for time changes due to daylight saving time.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
From the very beginning, the main focus of Date::Manip has been to be
|
|
Packit Service |
653591 |
able to do ANY desired date/time operation easily. Many other modules
|
|
Packit Service |
653591 |
exist which may do a subset of these operations quicker or more
|
|
Packit Service |
653591 |
efficiently, but no other module can do all of the operations available
|
|
Packit Service |
653591 |
in Date::Manip.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Since many other date/time modules exist, some of which may do the
|
|
Packit Service |
653591 |
specific operation(s) you need faster, be sure to read "SHOULD I USE
|
|
Packit Service |
653591 |
DATE::MANIP" in Date::Manip::Misc before deciding which of the Date and
|
|
Packit Service |
653591 |
Time modules from CPAN is for you. However, if you want one module to do
|
|
Packit Service |
653591 |
it all, Date::Manip is the one to use.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip has functionality to work with several fundamental types of
|
|
Packit Service |
653591 |
data.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
dates
|
|
Packit Service |
653591 |
The word date is used extensively here and is somewhat misleading.
|
|
Packit Service |
653591 |
In Date::Manip, a date consists of three pieces of information: a
|
|
Packit Service |
653591 |
calendar date, a time of day, and time zone information. Calendar
|
|
Packit Service |
653591 |
dates and times are fully handled. Time zones are handled as well,
|
|
Packit Service |
653591 |
but depending on how you use Date::Manip, there may be some
|
|
Packit Service |
653591 |
limitations as discussed below.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
delta
|
|
Packit Service |
653591 |
A delta is an amount of time (i.e. the amount of time between two
|
|
Packit Service |
653591 |
different dates). A delta refers only to an amount of time. It
|
|
Packit Service |
653591 |
includes no information about a starting or ending date/time. Most
|
|
Packit Service |
653591 |
people will think of a delta as an amount of time, but the term
|
|
Packit Service |
653591 |
'time' is already used so much in this module that I didn't want to
|
|
Packit Service |
653591 |
use it here in order to avoid confusion.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
recurrence
|
|
Packit Service |
653591 |
A recurring event is something which occurs on a regular recurring
|
|
Packit Service |
653591 |
basis.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
holidays and events
|
|
Packit Service |
653591 |
Holidays and events are basically named dates or recurrences.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Among other things, Date::Manip allow you to:
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* Enter a date in practically any format you choose.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* Compare two dates, entered in widely different formats to determine
|
|
Packit Service |
653591 |
which is earlier.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* Extract any information you want from a date using a format string
|
|
Packit Service |
653591 |
similar to the Unix date command.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* Determine the amount of time between two dates, or add an amount of
|
|
Packit Service |
653591 |
time to a date to get a second date.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* Work with dates with dates using international formats (foreign
|
|
Packit Service |
653591 |
month names, 12/10/95 referring to October rather than December,
|
|
Packit Service |
653591 |
etc.).
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
* To find a list of dates where a recurring event happens.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Each of these tasks is trivial (one or two lines at most) with this
|
|
Packit Service |
653591 |
package.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
HOW TO USE DATE::MANIP
|
|
Packit Service |
653591 |
There are three different ways to use Date::Manip . There are three
|
|
Packit Service |
653591 |
interfaces (version 5 functional interface, version 6 functional, and
|
|
Packit Service |
653591 |
version 6 object-oriented). A complete description of each is included
|
|
Packit Service |
653591 |
in the Date::Manip::Interfaces document. The recommended (and the only
|
|
Packit Service |
653591 |
one with access to the full functionality of the module) is using the
|
|
Packit Service |
653591 |
Object-Oriented interface.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
SEE ALSO
|
|
Packit Service |
653591 |
Because Date::Manip performs so many operations, the documentation is
|
|
Packit Service |
653591 |
extensive. It includes the following documents:
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Information about the different interfaces
|
|
Packit Service |
653591 |
Read this for a detailed description of each of the interfaces,
|
|
Packit Service |
653591 |
including information on how to choose and use the interface best suited
|
|
Packit Service |
653591 |
to your situation.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Interfaces
|
|
Packit Service |
653591 |
A complete description of the functional interfaces available. NOTE:
|
|
Packit Service |
653591 |
it is recommended that you use the OO interface wherever possible as
|
|
Packit Service |
653591 |
the functional interfaces have some imitations.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
A description of the functional interfaces:
|
|
Packit Service |
653591 |
Date::Manip::DM5
|
|
Packit Service |
653591 |
The version 5 functional interface
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::DM6
|
|
Packit Service |
653591 |
The version 6 functional interface
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Objects and configuration
|
|
Packit Service |
653591 |
An introduction to the Date::Manip classes used by the object-oriented
|
|
Packit Service |
653591 |
interface and how to configure them:
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Objects
|
|
Packit Service |
653591 |
An overview of the various Date::Manip modules, and how to use them.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Config
|
|
Packit Service |
653591 |
Information for configuring Date::Manip
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip object-oriented modules
|
|
Packit Service |
653591 |
These are the modules for using the object-oriented interface.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Obj
|
|
Packit Service |
653591 |
This is the base class. All other classes listed here inherit the
|
|
Packit Service |
653591 |
methods defined in this class.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Base
|
|
Packit Service |
653591 |
A module for doing low-level date operations.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::TZ
|
|
Packit Service |
653591 |
A module for working with time zones.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Date
|
|
Packit Service |
653591 |
The module for working with dates.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Delta
|
|
Packit Service |
653591 |
The module for working with deltas (amount of time).
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Recur
|
|
Packit Service |
653591 |
The module for working with recurrences (recurring dates).
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Timezone information
|
|
Packit Service |
653591 |
Date::Manip::DM5abbrevs
|
|
Packit Service |
653591 |
Time zone abbreviations used in the version 5 interface.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Zones
|
|
Packit Service |
653591 |
Time zone data included in Date::Manip used in the version 6
|
|
Packit Service |
653591 |
interfaces.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Miscellaneous information:
|
|
Packit Service |
653591 |
Date::Manip::Calc
|
|
Packit Service |
653591 |
Detailed information on how date calculations are done.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Holidays
|
|
Packit Service |
653591 |
Information on defining and using holidays and events.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::ConfigFile
|
|
Packit Service |
653591 |
A sample config file.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Lang
|
|
Packit Service |
653591 |
Information about the languages supported by Date::Manip and how to
|
|
Packit Service |
653591 |
add a new language.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Lang::english
|
|
Packit Service |
653591 |
Date::Manip::Lang::catalan
|
|
Packit Service |
653591 |
Date::Manip::Lang::danish
|
|
Packit Service |
653591 |
Date::Manip::Lang::dutch
|
|
Packit Service |
653591 |
Date::Manip::Lang::finnish
|
|
Packit Service |
653591 |
Date::Manip::Lang::french
|
|
Packit Service |
653591 |
Date::Manip::Lang::german
|
|
Packit Service |
653591 |
Date::Manip::Lang::italian
|
|
Packit Service |
653591 |
Date::Manip::Lang::norwegian
|
|
Packit Service |
653591 |
Date::Manip::Lang::polish
|
|
Packit Service |
653591 |
Date::Manip::Lang::portugue
|
|
Packit Service |
653591 |
Date::Manip::Lang::romanian
|
|
Packit Service |
653591 |
Date::Manip::Lang::russian
|
|
Packit Service |
653591 |
Date::Manip::Lang::spanish
|
|
Packit Service |
653591 |
Date::Manip::Lang::swedish
|
|
Packit Service |
653591 |
Date::Manip::Lang::turkish
|
|
Packit Service |
653591 |
A description of the parseable words in each language currently
|
|
Packit Service |
653591 |
supported by Date::Manip.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Information about the module and administrative things:
|
|
Packit Service |
653591 |
Date::Manip::Migration5to6
|
|
Packit Service |
653591 |
Information on changes necessary to scripts when upgrading from 5.xx
|
|
Packit Service |
653591 |
to 6.xx.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Changes5
|
|
Packit Service |
653591 |
Change log for Date::Manip 5.xx
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Changes5to6
|
|
Packit Service |
653591 |
Differences between version 5.xx and 6.00 (including information on
|
|
Packit Service |
653591 |
upgrading); this contains more details than the Migration5to6
|
|
Packit Service |
653591 |
document.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Changes6
|
|
Packit Service |
653591 |
Change log for Date::Manip 6.xx
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Misc
|
|
Packit Service |
653591 |
Miscellaneous information about Date::Manip (who should use it;
|
|
Packit Service |
653591 |
acknowledgments).
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::History
|
|
Packit Service |
653591 |
Musings on the history of Date::Manip written around it's 20th
|
|
Packit Service |
653591 |
birthday.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Problems
|
|
Packit Service |
653591 |
Common problems and instructions for reporting bugs.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
Date::Manip::Examples
|
|
Packit Service |
653591 |
Examples of how to use Date::Manip.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
LICENSE
|
|
Packit Service |
653591 |
This script is free software; you can redistribute it and/or modify it
|
|
Packit Service |
653591 |
under the same terms as Perl itself.
|
|
Packit Service |
653591 |
|
|
Packit Service |
653591 |
AUTHOR
|
|
Packit Service |
653591 |
Sullivan Beck (sbeck@cpan.org)
|
|
Packit Service |
653591 |
|