7129443: (cal) Difference between comment and implementation of DAY_OF_WEEK_IN_MONTH
authorpeytoia
Fri, 08 Apr 2016 14:35:35 +0900
changeset 36961 b4a60621d9f9
parent 36960 d7731fdfe7c3
child 36962 472d86c9e55d
7129443: (cal) Difference between comment and implementation of DAY_OF_WEEK_IN_MONTH Reviewed-by: okutsu, peytoia Contributed-by: Nishit Jain <nishit.jain@oracle.com>
jdk/src/java.base/share/classes/java/util/GregorianCalendar.java
--- a/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java	Thu Apr 07 12:54:23 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/util/GregorianCalendar.java	Fri Apr 08 14:35:35 2016 +0900
@@ -424,7 +424,7 @@
      * DAY_OF_MONTH            1         1          28*         31
      * DAY_OF_YEAR             1         1         365*        366
      * DAY_OF_WEEK             1         1           7           7
-     * DAY_OF_WEEK_IN_MONTH   -1        -1           4*          6
+     * DAY_OF_WEEK_IN_MONTH    1         1           4*          6
      * AM_PM                   0         0           1           1
      * HOUR                    0         0          11          11
      * HOUR_OF_DAY             0         0          23          23