Software Index
Linux Software Programming  

Date::Calc

download download home home   report broken
important software information
company name:
Steffen Beyer
license: Freeware
minimum requirements:
functional limitations:
Date::Calc description


Date::Calc - Gregorian calendar date calculations

MOTTO

Keep it small, fast and simple

PREFACE

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.

This is not true, however, for the import/export functions in this package which are an interface to the internal POSIX date and time functions of your system, which can only cover dates in the following ranges:

01-Jan-1970 00:00:00 GMT .. 19-Jan-2038 03:14:07 GMT [Unix etc.]
01-Jan-1904 00:00:00 LT .. 06-Feb-2040 06:28:15 LT [MacOS Classic]
(LT = local time)

Note that this package projects the Gregorian calendar back until the year 1 A.D. -- even though the Gregorian calendar was only adopted in 1582, mostly by the Catholic European countries, in obedience to the corresponding decree of Pope Gregory XIII 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.

See the section "RECIPES" at the bottom of this document for solutions to common problems!

If nevertheless you can't figure out how to solve a particular problem, please let me know! (See e-mail address at the end of this document.). Steffen Beyer - Free Perl and C Software for Download. Gregorian calendar date calculations,efficient bit vector and set computations, generate tree representation(HTML page) of web site, contrary of database join, and more!



Similar software
Bundle::Delivery (Popularity: ) : Bundle::Delivery contains modules required to run the Delivery and/or Tapestry web-publishing applications.

SYNOPSIS

perl -MCPAN -e 'install Bundle::Delivery'

This bundle provides an easy way to install all the modules used by the web-publishing and community-management application Delivery, and its more esoteric online-story-weaving sibling ...

Date::ISO8601 (Popularity: ) : The international standard ISO 8601 "Data elements and interchange formats - Information interchange - Representation of dates and times" defines three distinct calendars by which days can be labelled. It also defines textual formats for the representation of dates in ...
Date::Holidays::PT (Popularity: ) : Date::Holidays::PT - Determine Portuguese public holidays

SYNOPSIS

use Date::Holidays::PT;
my ($year, $month, $day) = (localtime)[ 5, 4, 3 ];
$year += 1900;
$month += 1;
print "Woohoo" if is_pt_holiday( $year, $month, $day );

my $h = pt_holidays($year);
printf "Jan. 1st is ...

#Calculation Component (Popularity: ) : #Calculation component is a powerful calculation engine for your applications. This ActiveX component integrates expression parsing and evaluation. Generally speaking, #Calculation is very useful in two main areas: first, when a formula has to be defined and evaluated at runtime ...
ECMerge Pro (Linux) (Popularity: ) : ECMerge compares and merges local/FTP/SCC text/images/folders, side-by-side or 3-way. It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Two text ...
ECMerge Pro (Solaris) (Popularity: ) : ECMerge compares and merges files and folders, side-by-side or 3-way.
It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Two ...

ECMerge Standard (Solaris) (Popularity: ) : ECMerge compares and merges files and folders, side-by-side.
It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Define favourite comparisons ...

VideoCap Pro Video OCX ActiveX (Popularity: ) : Capture Video from capture card, tv tuner, dv cam, dvd player to AVI or WMV 9, WMV8 file format.
Draw overlay bitmap on live video or save to video file. User define transparent color, alpha value.
Draw overlay time stamp ...

Chronicle for Linux (Popularity: ) : Chronicle software is a small and fast blog compiler, written in Perl with minimal dependencies.

What is a blog compiler? It is a simple piece of software which will convert a directory of text files into static tree of HTML and ...

Module::Make (Popularity: ) : Module::Make is the new way to make Perl modules.

SYNOPSIS

> perl -MModule::Make=new - Foo-Bar

Writing Perl modules, especially modules intended for CPAN, requires a lot of work that just isn't fun. Instead of just writing Perl code, you need to write and ...

django-ajax-filtered-fields (Popularity: ) : django-ajax-filtered-fields contains Django fields which may be used in a many to many or foreign key relation, where the user may want to apply filters to the listed objects, because of they being too many, or just for usability reasons.

Technical ...

Drivel for Linux (Popularity: ) : Drivel is a GNOME client for working with online journals, also known as weblogs or simply blogs.

Drivel retains a simple and elegant design while providing many powerful features, including support for LiveJournal, Blogger, Movable Type, Advogato, and Atom journals. (Systems ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
AD


Rate me
supported os's
stats
downloads 11
version 5.4
size in Kb 195
popularity   
1750/1272475
user rating 0/10
our rating 0 Stars
share info
Recommend Date::Calc
Report spyware
New Software
Popular Software
Latest Reviews