Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4506134

DST date incorrect for several Australian states in 2001

XMLWordPrintable

    • 011
    • sparc
    • solaris_7



        Name: md23716 Date: 09/24/2001

        Platform: Solaris
        Operating System Level/Version: 5.7
        Specific Sun Release Information: Solaris_1.2.2_09


        In the year 2000, several of the Australian states changed their DST rules because of the Olympics. Clocks were moved forward in late August, rather than late October. Although this was only a one off change it appears to have been incorporated in Sun's 1.2.2 Solaris JDK as a permanent rule.

        This problem is fixed in the 1.3.1 JDK, which uses the latest official DST rules.

        Testcase:

            public class TZtest
            {
                public static void main(String[] args)
                {
                    System.out.println(new java.util.Date());
                }
            }

        Recreation:

            javac -g TZtest.java

            export TZ="GB"
            java TZTest ; date

            export TZ="Australia/NSW"
            java TZTest ; date

        ======================================================================

              poonam Poonam Bajaj Parhar
              mdevereuorcl Michelle Devereux (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: