[Advanced-java] Daylight saving

Jukka Sundberg jukka at citrus.fi
Thu Jul 17 10:25:15 2003


Have you checked super class methods for SimpleTimeZone,

  For example, TimeZone.getTimeZone("GMT-8").getID() returns "GMT-08:00".
and also method
getDSTSavings()


K.P.Venkatakrishnan wrote:
> Hi,
> 
>             Is it possible to get the forward and backward switching 
> ‘dates’ for a given timezone using Java.
> 
>             SimpleTimeZone doesn’t seem to provide this. We can only set 
> the rules for the timezone (not even
> 
> get/read the rule of a timezone) and verify whether a date falls in DST 
> or not.
> 
>  
> 
> Thanks and regards,
> 
> Venkat.
> 
> **************************Disclaimer************************************
> 
> Information contained in this E-MAIL being proprietary to Wipro Limited is 
> 'privileged' and 'confidential' and intended for use only by the individual
>  or entity to which it is addressed. You are notified that any use, copying 
> or dissemination of the information contained in the E-MAIL in any manner 
> whatsoever is strictly prohibited.
> 
> ***************************************************************************
>