New era placeholder not displayed using java.text.DateFormat

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 11.0.2
    • Component/s: core-libs
    • None

      System.out.println(
        new SimpleDateFormat("Gy-M-d", new Locale("ja","JP","JP")).format(
          new Calendar.Builder().setDate(2019,Calendar.MAY,1).build().getTime()))

      Expected Result: 元号1-5-1

      Actual Result: N1-5-1

            Assignee:
            Naoto Sato
            Reporter:
            Yoshiki Sato (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: