> The base date to resolve the span should be the specified point of
> time contained in OBJECT (would be better to name it TIME_OBJECT). In
> other case the function doesnt have sense at all! This should be
> documented in the Refman. entry for the function.
But even if the time origin is fixed, I see a problem: not all the
months have the same number of days ( who the hell decided this? ). So
if for example the time object represents January 31st and I want to add
1 month coming in the calendar span... which would be the resulting
date? February 28th/29th? March 1st? The same problem happens with years
if the time object is 29th February and you want to add 1 year in the
calendar span... which would be the resulting date?
Maybe I dont understand the issue, but the calculation of the lenght
of months is deterministic: you only need to determine if the year of
the time object is a leap one.
Or I missing something?
--
Jose E. Marchesi <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
GNU Spain http://es.gnu.org
GNU Project http://www.gnu.org