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

Add java.time.format.DateTimeFormatter localizedBy(locale) method to reflect Unicode extensions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • core-libs
    • None
    • b36
    • generic
    • generic

      The spec change approved by the CSR JDK-8186697 had compatibility issues such as withXXX() methods would no longer be independent of the issuing order, e.g.,

       formatter = formatter.withZone(zone).withLocale(locale);
       formatter = formatter.withLocale(locale).withZone(zone);

      would generate different formatter instances. To resolve this incompatibility, instead of augmenting the existing methods, introduce a new method that will replace the locale related fields in the formatter.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: