[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Noooooo... (localtime in Unix98)



> And in case anyone is interested, I'd sum up these refs as asserting
> that when writing a parser that has to assume a correct century
> for a 2-digit year, you should normally assume a window such that
> years 69-99 are 19xx and 00-68 are 20xx. Obviously, this can't be
> universal; the final decision needs to depend on the application.
> E.g. that would probably be a poor choice of window for processing
> birthdates today. But as a default, particularly when the dates are
> for things like files or email messages or other computer data, and
> not external things like people, it seems pretty reasonable.

Such windowing algorithm is patented in the US under number 5,806,063
by Mac Donell Douglas corporation :-)

François


Follow-Ups from:
Bennett Todd <bet@rahul.net>
References to:
Bart Schuller <schuller@lunatech.com>
Dominic Dunlop <domo@computer.org>
Bennett Todd <bet@rahul.net>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]