Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 53813 invoked from network); 30 Dec 2008 14:55:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Dec 2008 14:55:08 -0000 Received: (qmail 48090 invoked by uid 500); 30 Dec 2008 14:54:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 48059 invoked by uid 500); 30 Dec 2008 14:54:56 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 48048 invoked by uid 99); 30 Dec 2008 14:54:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2008 06:54:56 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of len.popp@gmail.com designates 209.85.128.185 as permitted sender) Received: from [209.85.128.185] (HELO fk-out-0910.google.com) (209.85.128.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2008 14:54:48 +0000 Received: by fk-out-0910.google.com with SMTP id b27so3403661fka.0 for ; Tue, 30 Dec 2008 06:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=HpR0F2jPOHWpGvGQL2ahtiT4PYOjTYxe4RcTXGtg6tA=; b=wVwEq3NLzwl5pfVIyggos+RlaXaliOxoKgJ+R/sl9NfL3aCqGO+CdNgYU29R1M05z9 FsE5ckS3XKYrkJLHLtxHEBmU1ivBKTWOSvHayuHyWu7GcneUU8AYgmx4wuEyT7s6ojbU kHedxJwiUpya9walLJNtkIHOXiZzZB/poSf9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=h3eV+vfUKpMm5IN5elxyYK1dguNLBdNB8orv8MD3KfWv+JCzglk0kgtIG+beJ/rtCL UPK19gVNAfBGijFMjbdjtZg8QWOxXMCt7HKzADQX3IxPbss8auY5vzM7lfM7eMzDWJI9 uZiAOmypidj6n+TKn0lc6L6Dd8B3JoGBLdICg= Received: by 10.181.240.7 with SMTP id s7mr5661596bkr.110.1230648866850; Tue, 30 Dec 2008 06:54:26 -0800 (PST) Received: by 10.180.248.16 with HTTP; Tue, 30 Dec 2008 06:54:26 -0800 (PST) Message-ID: <497fac690812300654u7178eccdqf27b7e92a5d4cafc@mail.gmail.com> Date: Tue, 30 Dec 2008 09:54:26 -0500 From: "Len Popp" To: "Tomcat Users List" Subject: Re: Hot to disable DST option from tomcat cinfiguration. In-Reply-To: <21216565.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21216565.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org You can use a time zone name like "GMT+1" to specify a time zone with no DST rules. See the documentation for java.util.TimeZone for more info. -- Len On Tue, Dec 30, 2008 at 07:25, arif8899 wrote: > > i set a variable in tomcat configuration and that is > "-Duser.timezone=Europe/Brussels". i set it into tomcat->configur->java -> > java options textbox. > > This time zone has DST and i get it from the code > > TimeZone.getDefault().useDaylightTime(); it returns true and it is fine. > > now, i want to disable the DST option from this time zone. How can i do > this? > i am using servlet to get the information. > > > Thanks > -- > View this message in context: http://www.nabble.com/Hot-to-disable-DST-option-from-tomcat-cinfiguration.-tp21216565p21216565.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org