[tz] Samoa DST

Stephen Colebourne scolebourne at joda.org
Tue Sep 25 07:24:28 UTC 2018


On Mon, 24 Sep 2018 at 22:44, Paul Eggert <eggert at cs.ucla.edu> wrote:
>
> On 9/24/18 1:36 PM, Vishal Vineet Kumar wrote:
> >
> > Kindly advice if there is a java patch available for upcoming DST in
> > Samoa on 30^th September.
> >
> Java is downstream from us, so you should ask your Java supplier. For
> tzdb itself, all you should need for Samoa is version 2012g or later,
> dated 2012-10-17 20:59:45 -0700, although if you're going to upgrade
> you're probably better off going with the current tzdb version 2018e so
> that other timezones are handled better.

If you are using Java 8 or later, you can call
ZoneRulesProvider.getVersions(zoneId) to find out what version you
have available
https://docs.oracle.com/javase/8/docs/api/java/time/zone/ZoneRulesProvider.html#getVersions-java.lang.String-

To get a later version, the simplest solution is to upgrade your Java
version. See the release notes for each version to see which tzdb
version is included:
https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html

Stephen


More information about the tz mailing list