

- #SWT CALENDAR SETDATE DEFAULT UPGRADE#
- #SWT CALENDAR SETDATE DEFAULT FULL#
- #SWT CALENDAR SETDATE DEFAULT SERIES#
Some types of data depend on the config variables used, and these are cached separately, and this cache is automatically cleared every time a config variable is set. This does impact the memory footprint of the module, but it has a huge impact on the performance of the module. In order to improve the performance of Date::Manip, many intermediate values are cached. Handling dates, deltas, and recurrences are now done in Date::Manip::Date, Date::Manip::Delta, and Date::Manip::Recur.Īll of these modules are object oriented, and are designed to be used directly, so if you prefer an OO interface over a functional interface, use these modules.
#SWT CALENDAR SETDATE DEFAULT FULL#
These include the following:ĭate::Manip::Base contains many basic date operations which may be used to do simple date manipulation tasks without all the overhead of the full Date::Manip module.ĭate::Manip::TZ contains time zone operations. These can be used directly, bypassing the main Date::Manip module.

In general, the Date::Manip module from 6.00 is backwards compatible.Ī number of new modules have been created as well. The main Date::Manip module is still present, and contains all of the functions from Date::Manip 5.xx (except that they now call functions from all the other modules to do the actual work). (*) Breaking into smaller modulesĭate::Manip module has been broken up from one huge module into a large number of smaller more manageable modules. Please see the Date::Manip::Problems document for a discussion of this problem.

The most important changes are marked with asterisks.
#SWT CALENDAR SETDATE DEFAULT UPGRADE#
The following sections address how Date::Manip 6.00 differs from previous releases, and describes changes that might need to be made to your script in order to upgrade from 5.xx to 6.00. Breaking up the module would make it much easier to deal with.ĭate::Manip 6.00 is a complete rewrite of Date::Manip to address these and other issues. The entire Date::Manip module was contained in one huge file. The OO model allows a lot of information to be stored with each date (such as time zone information) which is discarded in the functional interface. Lacking OO modelĭate::Manip 5.xx was written as a functional module, not an OO module, but date handling would lend itself very well to being OO with different classes to handle dates, deltas, and recurrences. The parsing routines had grown very complicated, and overly permissive over time and were in need of a complete overhaul. Determining a time zone, and understanding daylight saving time changes was incomplete (at best) and totally inadequate to do true timezone operations.
#SWT CALENDAR SETDATE DEFAULT SERIES#
The Date::Manip 5.xx series of suffered from several weaknesses.

If you want to make sure that a script which ran with 5.xx will run with 6.xx, refer to the Date::Manip::Migration5to6 document. This page primarily describes technical details, most of which do not impact how Date::Manip is used in scripts. This document describes the differences between the 5.xx series and version 6.00. Other parts have been deprecated and will be removed at some point in the future. A great deal of effort was made to make sure that 6.00 is almost backwards compatible with 5.xx whenever feasible, but some functionality has changed in backwards incompatible ways. Date::Manip::Changes5to6 - describes differences between 5.xx and 6.00 SYNOPSISĭate::Manip 6.00 represents a complete rethink and rewrite of Date::Manip.
