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

javazic needs a fix for multiple transitions within a month

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • tz1.3.49
    • None
    • tools
    • fcs
    • generic
    • generic

    Description

      Rule.getRules(int year) needs the same fix made for JDK-8013386.

      @@ -115,11 +116,11 @@
                           // TODO: it's not accurate to ignore time types (STD, WALL, UTC)
                           long t1 = Time.getLocalTime(y, r1.getMonth(),
                                                       r1.getDay(), r1.getTime().getTime());
                           long t2 = Time.getLocalTime(y, r2.getMonth(),
                                                       r2.getDay(), r2.getTime().getTime());
      - return (int)(t1 - t2);
      + return Long.compare(t1, t2);
                       }
                       public boolean equals(Object o) {
                           return this == o;
                       }
                   });

      Attachments

        Activity

          People

            asaha Abhijit Saha
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: