Not sure if this came through the list before....

Graeme .


---------- Forwarded message ----------
From: Graeme Geldenhuys <[EMAIL PROTECTED]>
Date: 22-Apr-2006 12:31
Subject: Re: [Fwd: Re: [fpc-devel] Magic numbers used in TryEncodeDate]
To: FPC developers' list <[email protected]>


On 22/04/06, Bram Kuijvenhoven <[EMAIL PROTECTED]> wrote:
> IIRC this is commonly solved by differentiating between th Gregorian and 
> Julian Calendar. I.e. the EncodeDate function etc. work with the Gregorian 
> Calendar. Before that date in 1752 people used the Julian Calendar, but we 
> map all TDateTimes to Gregorian dates.
>

This makes sense.  As far as I know, in most Calender components,
there is an option to specify which calender system to use (Gregorian,
Julian, etc..) and Gregorian being the default.

Bottom Line:
  *Don't* invent a time travel machine!   :-)

Regards,
  - Graeme -


--
There's no place like 127.0.0.1
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to