• 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: Snow Leopard and TimeZones
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snow Leopard and TimeZones


  • Subject: Re: Snow Leopard and TimeZones
  • From: Mark Ritchie <email@hidden>
  • Date: Mon, 19 Oct 2009 14:37:13 -0700

On 19Oct2009, at 1:41 PM, David LeBer wrote:
... I am seeing this on my dev machine ...

Hey David!

What do you see when you run the code that was posted before?
Here's what I see.

Marks-MacBook:~ mark$ cat DateTest.java
class DateTest {
public static void main(String args[]) {
java.util.Calendar now = java.util.Calendar.getInstance();
System.out.println(now.getTimeZone());
System.out.println(now.getTime());
}
}
Marks-MacBook:~ mark$ javac DateTest.java
Marks-MacBook:~ mark$ java DateTest
sun.util.calendar.ZoneInfo[id="America/ Los_Angeles ",offset = -28800000 ,dstSavings = 3600000 ,useDaylight=true,transitions=185,lastRule=java.util.SimpleTimeZone [id=America/ Los_Angeles ,offset = -28800000 ,dstSavings = 3600000 ,useDaylight = true ,startYear = 0 ,startMode = 3 ,startMonth = 2 ,startDay = 8 ,startDayOfWeek = 1 ,startTime = 7200000 ,startTimeMode = 0 ,endMode =3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
Mon Oct 19 14:35:17 PDT 2009
Marks-MacBook:~ mark$
Marks-MacBook:~ mark$ date
Mon 19 Oct 2009 14:35:29 PDT


And for the record, I agree with Chuck!
Strictly speaking my not be a WO issue however still important. ;-)
M.
_______________________________________________
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


References: 
 >Snow Leopard and TimeZones (From: Michael Halliday <email@hidden>)
 >Re: Snow Leopard and TimeZones (From: Miguel Arroz <email@hidden>)
 >Re: Snow Leopard and TimeZones (From: Michael Halliday <email@hidden>)
 >Re: Snow Leopard and TimeZones (From: Chuck Hill <email@hidden>)
 >Re: Snow Leopard and TimeZones (From: Michael Halliday <email@hidden>)
 >Re: Snow Leopard and TimeZones (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Snow Leopard and TimeZones
  • Next by Date: Re: ERDList - how to make editable
  • Previous by thread: Re: [Fix Posted] Re: Snow Leopard and TimeZones
  • Next by thread: Re: Snow Leopard and TimeZones
  • Index(es):
    • Date
    • Thread