🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1202

Re: Probelem with Date and daylight savings

#1202
From: Hanan Hermon
Date: Sun, 28 Apr 2002 12:34
28 lines
1813 bytes
R.F. Pels <ruurd@acklin.nl> wrote in message news:3cc7f39b_1@dnews...
> Hanan Hermon wrote:
>
> > The problem is that I need to do it ONLY if the OS is not configured
> > to use daylight savings (Tested on WinNT).
>
> Then configure it to use daylight savings.
>

The problem is that it is user dependent,
So if a user do not what it to be configured then my application will not
work correctly.

In WinNT for example in the Time Zone configuration
you have a checkbox for "Automatically adjust clock for daylight saving
changes"
and I do not what to force the user for a specific configuration
(i.e. make sure that it is checked).

> > Is there a Java API to check if the OS configuration ??
>
> Look at java.util.Calendar. Don't get too scared.
>
>
> --
>
> Ruurd
Technical Details
Message-ID: <3ccbde9d$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!netnews.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3cc66f49_2@dnews> <3cc6aff3_1@dnews> <3cc7e91e_2@dnews> <3cc7f39b_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-28 04:38:58 PST
From: "Hanan Hermon" <hananh@radcom.co.il>
Newsgroups: borland.public.jbuilder.java.api
References: <3cc66f49_2@dnews> <3cc6aff3_1@dnews> <3cc7e91e_2@dnews> <3cc7f39b_1@dnews>
Subject: Re: Probelem with Date and daylight savings
Date: Sun, 28 Apr 2002 14:34:11 +0200
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 192.116.176.125
Message-ID: <3ccbde9d$1_2@dnews>
X-Trace: dnews 1019993757 192.116.176.125 (28 Apr 2002 04:35:57 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!netnews.com!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews