I think i was looking at a draft,
is there anything in the your copy oflC99 that resembles?:
7.23.2.6 Normalization of broken-down times
[#1] A broken-down time is normalized by the mkxtime
function in the following manner. A broken-down time is
normalized by the mktime function in the same manner, but as
if the struct tm structure had been replaced by a struct tmx
structure containing the same values except:
tm_version is 1
tm_zone is _LOCALTIME
7.23.2.4 Library 7.23.2.6
WG14/N843 August 3, 1998 389
tm_leapsecs is _NO_LEAP_SECONDS
tm_isdst is -1, 0, or an implementation-defined
positive value according to whether the
original member is less than, equal to, or
greater than zero
[#2] If any of the following members is outside the
indicated range (where L is LONG_MAX/8), the behavior is
undefined:
tm_year [-L/366, +L/366]
tm_mon [-L/31, +L/31]
tm_mday [-L, +L]
tm_hour [-L/3600, +L/3600]
tm_min [-L/60, +L/60]
tm_sec [-L, +L]
tm_leapsecs [-L, +L] or _NO_LEAP_SECONDS
tm_zone [-L/60, +L/60]
tm_isdst [-L/60, +L/60] or _LOCALTIME
The tm_version member shall be 1.
[#3] Values S and D shall be determined as follows:
7.23.2.6 Library 7.23.2.
#define QUOT(a,b) ((a)>0 ? (a)/(b) : -(((b)-(a)-1)/(b)))
#define REM(a,b) ((a)-(b)*QUOT(a,b))
----- Original Message -----
From: "Sascha Schumann" <[EMAIL PROTECTED]>
To: "Jason Greene" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 1:00 PM
Subject: Re: [PHP-DEV] PHP 4.0 Bug #8828 Updated: mktime using mday<=0
> On Wed, 14 Mar 2001, Jason Greene wrote:
>
> > Hi Sascha,
> >
> > Look at 7.23.2.6 Normalization of broken-down times
>
> Which version of the "Ansi C standard" are you referring to?
>
> C99 (ANSI/IEC/ISO 9899:1999) does not contain such a section
> nor does it contain the term normalization.
>
> The Single Unix Spec II which predates C99 also does not say
> anything with regard to ``normalization''.
>
> - Sascha Experience IRCG
> http://schumann.cx/ http://schumann.cx/ircg
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]