please help me i have a problem, the user use a wizard that contain a jcalendar, the calendar display the time according to the timezone of the server (redHat).
In HP-UX server there is a special timezones like ( EET-DST which is +0330 from GMT ), to set the correct date in the jcalendar, i'am based on "+xxxx" to compare timezone gotten from the server and timezones of java. But there is no timezone which is +0330 from GMT in java.
jad igor wrote:But there is no timezone which is +0330 from GMT in java.
According to the little test program I just ran, the "Asia/Tehran" and "Iran" timezones both have a 3.5-hour GMT offset. I'm assuming that the version of Java you are running is a standard JRE which has the standard timezone definitions in it.
Joined: Sep 09, 2008
I use jdk 1.5 (yes it's a standard) and it shows me :
Asia/Tehran, IRDT, Iran Daylight Time, 3:30, OFFSET : +0430
Iran, IRDT, Iran Daylight Time, 3:30, OFFSET : +0430
Maybe i should update tzdb of my server machines (Linux/HP-UX), according to tzdb of java 1.5, or i do the opposite.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com