Documentation in Month refers to quarters

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u45
    • Component/s: core-libs
    • b84
    • x86_64
    • windows_7

        A DESCRIPTION OF THE PROBLEM :
        Documentation suggests that the method adds a number of quarters, whereas it should add a number of months.


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Returns the month-of-year that is the specified number of months after this one.

        ACTUAL -
        Returns the month-of-year that is the specified number of quarters after this one.

        URL OF FAULTY DOCUMENTATION :
        https://docs.oracle.com/javase/8/docs/api/java/time/Month.html#plus-long-

              Assignee:
              Roger Riggs
              Reporter:
              Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: