8129744: Documentation in Month refers to quarters
authorrriggs
Thu, 24 Sep 2015 11:01:01 -0400
changeset 32770 ea644e64cc88
parent 32769 c9520bbd6754
child 32771 732bf1c40a25
8129744: Documentation in Month refers to quarters 8129556: TemporalAdjusters dayOfWeekInMonth wrongly says "in the same month" Reviewed-by: chegar, scolebourne
jdk/src/java.base/share/classes/java/time/Month.java
jdk/src/java.base/share/classes/java/time/temporal/TemporalAdjusters.java
--- a/jdk/src/java.base/share/classes/java/time/Month.java	Thu Sep 24 17:07:44 2015 +0300
+++ b/jdk/src/java.base/share/classes/java/time/Month.java	Thu Sep 24 11:01:01 2015 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -379,7 +379,7 @@
 
     //-----------------------------------------------------------------------
     /**
-     * Returns the month-of-year that is the specified number of quarters after this one.
+     * Returns the month-of-year that is the specified number of months after this one.
      * <p>
      * The calculation rolls around the end of the year from December to January.
      * The specified period may be negative.
--- a/jdk/src/java.base/share/classes/java/time/temporal/TemporalAdjusters.java	Thu Sep 24 17:07:44 2015 +0300
+++ b/jdk/src/java.base/share/classes/java/time/temporal/TemporalAdjusters.java	Thu Sep 24 11:01:01 2015 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -313,7 +313,7 @@
 
     /**
      * Returns the day-of-week in month adjuster, which returns a new date
-     * in the same month with the ordinal day-of-week.
+     * with the ordinal day-of-week based on the month.
      * This is used for expressions like the 'second Tuesday in March'.
      * <p>
      * The ISO calendar system behaves as follows:<br>