Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 20:28:46 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: Anybody involved with ISO C standardization ? 
Message-ID:  <AB5E6234-6BE2-11D9-97D3-000A95C893E4@lassitu.de>
In-Reply-To: <33041.1106331489@critter.freebsd.dk>
References:  <33041.1106331489@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 21.01.2005 um 19:18 schrieb Poul-Henning Kamp:

> In message <41F14659.8040003@mac.com>, Chuck Swiger writes:
>> Poul-Henning Kamp wrote:
>>> I just read another brain-dead proposal for a new timeformat
>>> which appearantly is in the ISO C queue and I would really
>>> like if we can avoid having another damn mistake in that area.
>>> (http://david.tribble.com/text/c0xlongtime.html)
>>
>> I tried to figure out what was wrong with the proposal, and came up 
>> with this:
>>
>> "The longtime_t type represents a system time as an integral number 
>> of ticks
>> elaped since the beginning of the long time epoch. Each tick is two
>> nanoseconds in length. The epoch begins at {AD 2001-01-01 
>> 00:00:00.000 Z}.
>>
>> Long time values represent dates across the range of {AD 1601-01-01 
>> 00:00:00
>> Z} to {AD 2401-01-01 00:00:00 Z} within the proleptic Gregorian 
>> calendar."
>
> Lets take just the two worst mistakes:

Maybe the author of these proposals hasn't had the opportunity to enjoy 
Calendrical Calculations by Reingold and Dershowitz. (Their homepage is 
at http://emr.cs.iit.edu/home/reingold/calendar-book/index.shtml)


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB5E6234-6BE2-11D9-97D3-000A95C893E4>