[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[pdf-devel] Re: Calendar spans
From: |
jemarch |
Subject: |
[pdf-devel] Re: Calendar spans |
Date: |
Sun, 18 May 2008 13:47:24 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (powerpc-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> 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 <address@hidden>
<address@hidden>
GNU Spain http://es.gnu.org
GNU Project http://www.gnu.org
- [pdf-devel] Calendar spans, Aleksander Morgado, 2008/05/11
- [pdf-devel] Re: Calendar spans, jemarch, 2008/05/13
- [pdf-devel] Re: Calendar spans, Aleksander Morgado, 2008/05/17
- [pdf-devel] Re: Calendar spans,
jemarch <=
- [pdf-devel] Re: Calendar spans, Aleksander Morgado, 2008/05/18
- [pdf-devel] Re: Calendar spans, jemarch, 2008/05/18
- [pdf-devel] Re: Calendar spans, Aleksander Morgado, 2008/05/18
- Re: [pdf-devel] Re: Calendar spans, Stuart Jansen, 2008/05/18
- Re: [pdf-devel] Re: Calendar spans, jemarch, 2008/05/18
- Re: [pdf-devel] Re: Calendar spans, Aleksander Morgado, 2008/05/18
- Re: [pdf-devel] Re: Calendar spans, jemarch, 2008/05/18
- [pdf-devel] Re: Calendar spans, jemarch, 2008/05/18