Re: WebObjects 4.5 and Daylight Savings Time change.
Re: WebObjects 4.5 and Daylight Savings Time change.
- Subject: Re: WebObjects 4.5 and Daylight Savings Time change.
- From: Art Isbell <email@hidden>
- Date: Mon, 6 Nov 2006 17:22:18 -1000
On Nov 6, 2006, at 4:32 PM, James Stead wrote:
According to Apple docs from the time (which I had at the office
but not with me now), it looked like foundation back then had its
own algorithms for calculating time independent of the os, similar
to the way java does it.
<http://developer.apple.com/documentation/LegacyTechnologies/
WebObjects/WebObjects_4.5/System/Documentation/Developer/WebObjects/
PostInstall/PostInstall.f.html#85050> suggests that under Solaris and
HP-UX, OS time zone files are used by WO 4.5. It seems logical that
the extensive time zone info included with the operating systems
supported by WO 4.5 would be used rather than WO duplicating this
info. I assume that time zone info under Windows and OS X Server was
usable without the changes needed under Solaris and HP-UX.
Java has apparently done a better job at including historical time
zone info than is routinely included with various OS', so it makes
sense that Java might use its own info.
In our apps we have some of each... some uses of java
GregorianCalendar and related classes, and other uses of
NSGregorianDate and its brethren. The java situation is problematic
because we must use the 1.1.8 jvm which is not being patched by
Sun, but at least there we see a solution. In the case of the NS
classes I haven't yet seen how it is being done.
I never used Java to implement a WO 4 app, but because the Java-ObjC
bridge was used to implement the Java API, I wouldn't be surprised if
the Java NSGregorianDate didn't bridge to the ObjC NSCalendarDate
rather than to native Java's GregorianCalendar, for example. So
maybe the JVM time zone info wasn't used by WO 4.5. If this is true,
the old 1.1.8 JVM wouldn't need to be patched.
I suppose setting the system clock ahead to after the scheduled
start of the 2007 Daylight Saving Time would be a way to test whether
a problem even exists. But that would depend on whether your OS has
been updated to include the 2007 Daylight Saving Time changes.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden