• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebObjects 5.3.3, DST and J2SE 1.4.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects 5.3.3, DST and J2SE 1.4.2


  • Subject: Re: WebObjects 5.3.3, DST and J2SE 1.4.2
  • From: Mark Ritchie <email@hidden>
  • Date: Mon, 12 Mar 2007 12:11:25 -0400

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, int, int, int, int, int)


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WebObjects 5.3.3, DST and J2SE 1.4.2
      • From: Baiss Eric Magnusson <email@hidden>
    • Re: WebObjects 5.3.3, DST and J2SE 1.4.2
      • From: Ken Anderson <email@hidden>
References: 
 >WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Baiss Eric Magnusson <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Pascal Robert <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Baiss Eric Magnusson <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Ken Anderson <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Baiss Eric Magnusson <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Chuck Hill <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Baiss Eric Magnusson <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Mark Ritchie <email@hidden>)
 >Re: WebObjects 5.3.3, DST and J2SE 1.4.2 (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: How to create Portlets with WO
  • Next by Date: Re: WebObjects 5.3.3, DST and J2SE 1.4.2
  • Previous by thread: Re[SOLVED]: WebObjects 5.3.3, DST, NSTimeZone
  • Next by thread: Re: WebObjects 5.3.3, DST and J2SE 1.4.2
  • Index(es):
    • Date
    • Thread