This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I created two instances of Date(java.util.Date).I want to set different TimeZone for each instance. I was able to set the time zone for each instances by using the GregorianCalendar class. However,when i set the timezone of the first instance the other instance's timezone also gets that value.Basically i dont want to disturb other instance value upon timezone change. It seems that when you set the TimeZone,java treats it as one global static variable...Please help me to get away from this problem.Thanks in advance to all of you.