On May 16, 2006, at 4:54 PM, Art Isbell wrote:

On May 16, 2006, at 1:16 PM, WebObjects wrote:

I can still 'force' a failure (the 'day' decrements each time the record is saved) by submitting dates in the year 1700, but years in the 1900's seem to
work fine.  Strange (to me).

And, why would having a
lower year (one in the 1700's for instance) make any difference?

I don't have a definite answer, but I do know that time zone data from the past can be very sketchy which might lead to bugs when converting back and forth between time zones.

I'd go further than very sketchy. There have been many adjustments and other changes to date and time over the centuries. The Java libraries try to take them all into account. Trying to get the behavior you expect from the classes can be an exercise in frustration. I have, at times, resorting to doing my own (incorrect) date math to get the inaccurate but expected result that I wanted. Dates. Run away!

Chuck

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to