Path: usenet.cise.ufl.edu!huron.eel.ufl.edu!usenet.eel.ufl.edu!news.ultranet.com!nntp.cs.ubc.ca!news.Stanford.EDU!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.wli.net!ais.net!uunet!in3.uu.net!news.neta.com!not-for-mail From: Steffen Beyer Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules Subject: ANNOUNCE: Date::Calc 4.0 Followup-To: comp.lang.perl.modules Date: 14 May 1998 15:04:33 GMT Organization: Internet Access Inc., Chandler Arizona Lines: 121 Approved: merlyn@stonehenge.com (comp.lang.perl.announce) Message-ID: <6jf161$jct$1@news.neta.com> Reply-To: sb@engelschall.com (Steffen Beyer) NNTP-Posting-Host: gadget.cscaper.com X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content. Xref: usenet.cise.ufl.edu comp.lang.perl.announce:59 comp.lang.perl.modules:1585 I am pleased to announce version 4.0 of the "Date::Calc" module: The package is available for download either from my web site at http://www.engelschall.com/u/sb/download/ or from any CPAN (= "Comprehensive Perl Archive Network") mirror server: (allow a few days for propagation if necessary) http://www.perl.com/CPAN/authors/id/STBEY/ The package consists of a C library (useful for C developers) which is the core of a Perl (wrapper) module (for easy access to the library from Perl). The C library is specifically designed so that it can be used stand-alone, without Perl. What does it do: ---------------- This package consists of a C library and a Perl module (which uses the C library, internally) for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable). (See also http://www.engelschall.com/u/sb/download/Date-Calc/DIN1355/ for a scan of part of the "DIN 1355" document (in German)). The module of course handles year numbers of 2000 and above correctly ("Year 2000" or "Y2K" compliance) -- actually all year numbers from 1 to the largest positive integer representable on your system (which is at least 32767) can be dealt with. Note that this package EXTRAPOLATES the Gregorian calendar BACK until the year 1 A.D. -- even though the Gregorian calendar was only adopted in 1582 by most (not all) European countries, in obedience to the corresponding decree of catholic pope Gregor I in that year. Some (mainly protestant) countries continued to use the Julian calendar (used until then) until as late as the beginning of the 20th century. Finally, note that this package is not intended to do everything you could ever imagine automagically for you; it is rather intended to serve as a toolbox (in the best of UNIX spirit and traditions) which should, however, always get you where you want to go. If nevertheless you can't figure out how to solve a particular problem, please let me know! (See e-mail address at the bottom of this document.) Changes in version 4.0: ----------------------- + Complete rewrite of the XS file. + Extensive rewrite of the C library at the core. + Changed the naming conventions for function names from all lower case to mixed upper- and lower case. + Added systematic exception handling. + Renamed the package from "Date::DateCalc" to simply "Date::Calc". + Renamed the corresponding files as well as the files of the C core. + Added a new Perl function "Week_of_Year()" (replacing "week_number()"). + Changed the Perl function "Week_Number()" to call the C function "Week_Number()". + Added new functions System_Clock()", "Today()", "Now()" and "Today_and_Now()". + Added "check_business_date()", "Standard_to_Business()" and "Business_to_Standard()". + Ported the functions from "Date::DateCalcLib" from Perl to C. + Dropped the module "Date::DateCalcLib". + Added multi-language support. + Enhanced support for Windows NT/95. + Complete rewrite of the demo programs. + Complete rewrite of the documentation. + Added many new tools, including a utility for upgrading existing applications automatically and a filter for conversions between different character sets (ISO-Latin-1 and PC "CP 850"). Legal issues: ------------- Copyright (c) 1995, 1996, 1997, 1998 by Steffen Beyer. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License". The C library at the core of this Perl module can additionally be redistributed and/or modified under the terms of the "GNU Library General Public License". Prerequisites: -------------- Perl version 5.000 or higher, and an ANSI C compiler (!) ^^^^^^ Author's note: -------------- If you have any questions, suggestions or need any assistance, please let me know! I would in fact be glad to receive any kind of feedback from you! I hope you will find this module beneficial. Yours, -- Steffen Beyer http://www.engelschall.com/u/sb/ "There is enough for the need of everyone in this world, but not for the greed of everyone." - Mahatma Gandhi .