changeset 12814:2ba5455a7fbd

8129744: Documentation in Month refers to quarters 8129556: TemporalAdjusters dayOfWeekInMonth wrongly says "in the same month" Reviewed-by: chegar, scolebourne
author rriggs
date Thu, 24 Sep 2015 11:01:01 -0400
parents 791ce879cf01
children 0e0cb50613bb
files src/java.base/share/classes/java/time/Month.java src/java.base/share/classes/java/time/temporal/TemporalAdjusters.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/time/Month.java	Thu Sep 24 17:07:44 2015 +0300
+++ b/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/src/java.base/share/classes/java/time/temporal/TemporalAdjusters.java	Thu Sep 24 17:07:44 2015 +0300
+++ b/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>