Hi Baiss!
I'm glad to hear that your problem has been fixed!
Here are two points I think are important to clarify:
On 9-Mar-07, at 6:08 PM, Baiss Eric Magnusson wrote:
timestampByAddingGregorianUnits in the docs.
public NSTimestamp timestampByAddingGregorianUnits( int year, int
month, int day, int hour, int minute, int second)
Deprecated in the Java Foundation framework. Don't use this method.
Hrm, the WOF 5.3 docs don't say that it's deprecated!
I don't know where you're seeing the deprecated message.
(Also, for the record, I don't get a deprecation warning when I use
this method.)
http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/foundation/NSTimestamp.html#timestampByAddingGregorianUnits
(int,%20int,%20int,%20int,%20int,%20int)
That's because the <timestamp> refers to Greenwich time zone by
default and so when DST occurs there at the end of March the time
syncs back.
Just to be clear, GMT (also called UTC) doesn't change for daylight
savings time. As you've already posted, it was a coding problem.
I'm still not clear on the coding trouble so I'm going to look at it
when I have a minute but just because I *have* to know why it broke! :-)
Regards,
Mark
__
Mark Ritchie
Cocoa and WebObjects Developer
Diamond Lake Consulting Inc.
Toronto, Ontario, Canada
_______________________________________________
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]