MAIL PROTECTED]>
Sent: Sunday, September 18, 2005 11:58 AM
Subject: RE: Timezone
I've found out that the problem was with default timezone when JBoss was
started within Eclipse. If I run it standalone with run.bat - everything
works OK... I didn't have time to look for reason of t
I've found out that the problem was with default timezone when JBoss was
started within Eclipse. If I run it standalone with run.bat - everything
works OK... I didn't have time to look for reason of this strange behaviour
- I've added -Duser.timezone=Europe/Warsaw to my JRE VM params in Eclipse
and
dobry Wojciech
//This should work
TimeZone timeZone = TimeZone.getTimeZone("Europe/Warsaw");
//If "Europe/Waraw" is not valid this will always work
//TimeZone timeZone = TimeZone.getTimeZone("GMT+1").
GregorianCalendar cal = new GregorianCalendar(timeZone, Locale.EU);
int year = cal.get(Calenda
3 matches
Mail list logo