## "Fossies" - the Fresh Open Source Software Archive ### Source code changes of the file "lib/Date/Calendar.pod" betweenDate-Calc-6.3.tar.gz and Date-Calc-6.4.tar.gz

About: Date-Calc - Gregorian calendar date calculations (C library and Perl module).

Calendar.pod  (Date-Calc-6.3):Calendar.pod  (Date-Calc-6.4)
skipping to change at line 401 skipping to change at line 401
Note that an exception ("invalid date") is raised if the Note that an exception ("invalid date") is raised if the
given date argument does not constitute a valid date. given date argument does not constitute a valid date.
In scalar context, the method just returns the resulting date In scalar context, the method just returns the resulting date
object, whereas in list context the method not only returns the object, whereas in list context the method not only returns the
new date, but also a "rest". This rest is useful for cases in new date, but also a "rest". This rest is useful for cases in
or subtract fractions of a day. or subtract fractions of a day.
Sometimes it is not possible to accomodate the requested number Sometimes it is not possible to accommodate the requested number
of work days, and a rest remains. of work days, and a rest remains.
This rest can currently only assume the value "0.0" (zero), This rest can currently only assume the value "0.0" (zero),
"-0.5" (minus one half) or "0.5" (one half), provided you "-0.5" (minus one half) or "0.5" (one half), provided you
use only integral or multiples of 0.5 as offsets. A rest use only integral or multiples of 0.5 as offsets. A rest
of zero indicates that the calculation yielded an exact of zero indicates that the calculation yielded an exact
result. If the rest is 0.5 or -0.5, this is to be interpreted result. If the rest is 0.5 or -0.5, this is to be interpreted
as "the resulting date at 12:00 o'clock", instead of as "the as "the resulting date at 12:00 o'clock", instead of as "the
resulting date at 0:00 o'clock". resulting date at 0:00 o'clock".
skipping to change at line 579 skipping to change at line 579
The method "add_delta_workdays()" is known to produce results The method "add_delta_workdays()" is known to produce results
which are sometimes off by one working day when a negative which are sometimes off by one working day when a negative
offset is used. As a workaround, try to add one working day offset is used. As a workaround, try to add one working day
first and then subtract one working day more than initially first and then subtract one working day more than initially
this. this.
This man page documents "Date::Calendar" version 6.. This man page documents "Date::Calendar" version 6.4.
Steffen Beyer Steffen Beyer
mailto:STBEY@cpan.org mailto:STBEY@cpan.org