Article View: borland.public.jbuilder.java.api
Article #1026Re: Probelem with Date and daylight savings
From: Gillmer J. Derge [TeamB]
Date: Mon, 29 Apr 2002 15:21
Date: Mon, 29 Apr 2002 15:21
20 lines
2047 bytes
2047 bytes
"Hanan Hermon" <hananh@radcom.co.il> wrote in message news:3ccbe076$1_1@dnews... > As I said if you do not have the "Automatically adjust clock for daylight > saving changes" checked > (On WinNT) then my application will give a wrong time (Not only my every > java application using JDK1.3.1). But won't the OS also give the "incorrect" time in that situation? My point is that if the user has set the OS to give the "wrong" time, then your program should probably obey that setting. If they want to fix the time, then the best way to do it would be to change "automatically adjust clock for daylight savings." Maybe I'm misunderstanding you, but it sounds like when "automatically adjust clock for daylight savings" isn't checked, your program will give a different time than what is displayed by the OS. That doesn't seem like a good idea to me. -- Gillmer J. Derge [TeamB]
Technical Details
Message-ID:
<3ccd64df$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!194.159.246.34.MISMATCH!kibo.news.demon.net!demon!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!nntp-relay.ihug.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3cc66f49_2@dnews> <3cc6aff3_1@dnews> <3cc7e91e_2@dnews> <3cc81afe$1_1@dnews> <3ccbe076$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,78729ebe20306c09 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-04-29 08:28:51 PST From: "Gillmer J. Derge [TeamB]" <spam@gillmerderge.com> Newsgroups: borland.public.jbuilder.java.api References: <3cc66f49_2@dnews> <3cc6aff3_1@dnews> <3cc7e91e_2@dnews> <3cc81afe$1_1@dnews> <3ccbe076$1_1@dnews> Subject: Re: Probelem with Date and daylight savings Date: Mon, 29 Apr 2002 11:21:01 -0400 Lines: 23 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: 24.58.144.76 Message-ID: <3ccd64df$1_2@dnews> X-Trace: dnews 1020093663 24.58.144.76 (29 Apr 2002 08:21:03 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!194.159.246.34.MISMATCH!kibo.news.demon.net!demon!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!nntp-relay.ihug.net!out.nntp.be!propagator2-SanJose!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews