This content has been marked as final.
Show 1 reply
-
1. Re: Transition to winter time in JBOSS
pmm Aug 9, 2014 8:10 AM (in response to dchuenkov)I am not familiar with time zones in Russia. In general this is not a JBoss AS issue but rather a Java and operating system issue. Newer versions of Java generally come with newer timezone databases. If your database is too old you can update it using the tzupdater tool from Oracle.
You can find your currently installed rules like this (obviously you need to change your timezone id)
ZoneRules rules = ZoneRulesProvider.getRules("Europe/Berlin", false); ZoneOffsetTransition transition = rules.nextTransition(Instant.now()); System.out.printf("%s -> %s%n", transition.getDateTimeBefore(), transition.getDateTimeAfter());