Article View: borland.public.jbuilder.java.api
Article #1132Re: Automatically adjust clock for daylight saving changes
From: Gillmer J. Derge [TeamB]
Date: Thu, 16 May 2002 13:53
Date: Thu, 16 May 2002 13:53
13 lines
1379 bytes
1379 bytes
"Rupa Lahiri" <rupal@icode.com> wrote in message news:3ce36926_2@dnews...
> Can anyone tell me how to detect whether Automatically adjust clock for
> daylight saving changes is checked
One way is with the java.util.TimeZone class.
TimeZone.getDefault().useDaylightTime()
Note that all of the Java date/time classes should automatically handle
this, so most of the time you don't really need to worry about it.
--
Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<3ce3bd14$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsReferences:
<3ce36926_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,c4b8b68b389e0bc6 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-05-16 07:08:19 PST From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> Newsgroups: borland.public.jbuilder.java.api References: <3ce36926_2@dnews> Subject: Re: Automatically adjust clock for daylight saving changes Date: Thu, 16 May 2002 09:53:46 -0400 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 66.67.129.227 Message-ID: <3ce3bd14$1_1@dnews> X-Trace: dnews 1021558036 66.67.129.227 (16 May 2002 07:07:16 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.online.be!fu-berlin.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews