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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: