we have used this code to get the IANA tz version.

public static String getTimezoneDatabaseIANAVersion() {

        File readmeFile = new File(ZONEINFO_PATH, "README");
        File alternativeReadmeFile = new File(ZONEINFO_PATH, "README.txt");

        if (!readmeFile.exists()) {
            readmeFile = alternativeReadmeFile;
        }

out read me.txt file contain

generated by Gradle
Based on http://www.iana.org/time-zones/repository/releases/tzdata2020a.tar.gz

means we are using correct tzdata2020a.

But still why there is issue? Something wrong with tz db??
regards,
sundar

On Fri, May 22, 2020 at 9:12 PM Sundar Sarma <gkssarma59@gmail.com> wrote:
ZoneRulesProvider.getVersions( String zoneId ).
    which gives the version used by Java.

this above code gives the version used by java.

that is correct. Bu the above code is java.time

we are using joda.time in our application.

So could you please tell me that how to get the version used by java in joda time??

thanks,
sundar

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.