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

Incorrect javadoc in DateTimeFormatterBuilder.appendPattern() for 'uu'/'yy'

    XMLWordPrintable

Details

    • b23
    • generic
    • generic
    • Not verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      In appendPattern​(String pattern) method, following pattern letters/builder mappings are presented:
        Pattern Count Equivalent builder methods
          uu 2 appendValueReduced(ChronoField.YEAR, 2, 2000)
          yy 2 appendValueReduced(ChronoField.YEAR_OF_ERA, 2, 2000)

      The problem is there is no appendValueReduced method which takes 3 parameters. I guess one of them is missing here.


      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: