Error in date arithmetic example (adding instead of subtracting)

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      Example in documentation states "For example, 2007-03-31 minus one month would result in the invalid date 2007-04-31." The example date should be 2007-05-31.

      See https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html#minusMonths-long-


            Assignee:
            Pallavi Sonal (Inactive)
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: