Michael Schnell schrieb:
On 08/03/2011 06:55 AM, LacaK wrote:
Jonas Maebe  wrote / napísal(a):

On 02 Aug 2011, at 13:45, LacaK wrote:

What do you think, can we change MinDateTime from -693593.0 to -693594.0;
(to accept 01/01/0001 23:59:59.999)

Negative dates are problematic as Year 0 officially does not exist. the first day of Year 1 is directly preceded by the last day of year 1 BC.

There exist other calendars than only the Gregorian one, with their own oddities (Maya!), and all of them should be based on an common internal date/time type.

IMO a MinDateTime value should be private to every calendar, if ever needed, and the global constant should be removed.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to