after i run this code ZoneRulesProvider.getVersions( String zoneId ). i got below output {2016a=ZoneRules[currentStandardOffset=-08:00]} But in readme file of tzadata, Generated by Gradle I am getting below verison. Based on http://www.iana.org/time-zones/repository/releases/tzdata2020a.tar.gz On Thu, May 21, 2020 at 6:39 PM Michael H Deckers < michael.h.deckers@googlemail.com> wrote:
On 2020-05-21 12:39, Sundar Sarma wrote:
Still i did not understand why this test case is failing with new 2020a tz.
The version of the IANA database installed in the operating system may well differ from the version used by Java.time. The latter can be determined with the method ZoneRulesProvider.getVersions( String zoneId ). which gives the version used by Java.
HTH.
Michael Deckers.