tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Len Popp" <len.p...@gmail.com>
Subject Re: Hot to disable DST option from tomcat cinfiguration.
Date Tue, 30 Dec 2008 14:54:26 GMT
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 <akmarif@gmail.com> 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


Mime
View raw message