summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2014-12-22 01:31:38 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2014-12-22 01:31:38 +0000
commitf74797dcba95e7902cb1364deb718c2633ff3bb3 (patch)
treea80b6458b16d2b5fb8f938cedf1696b33e96b48a /ChangeLog
parent2016893a79012414f0dd2475230e17bf0b846aed (diff)
downloadclasspath-f74797dcba95e7902cb1364deb718c2633ff3bb3.tar.gz
PR64176: Week of year field during end of year transition is incorrect
2014-12-15 Andrew John Hughes <gnu_andrew@member.fsf.org> PR classpath/64176 * NEWS: Updated. * java/util/GregorianCalendar.java: (computeFields()): Handle the week that runs over the end of the year and the beginning of the next one, so that it is numbered the same in both years. (getBaseWeekOfYear(int,int,int)): Broken out of computeFields to avoid code duplication. (getRelativeWeekday(int)): Likewise. Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 29d72c7f3..f2b03b028 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2014-12-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ PR classpath/64176
+ * NEWS: Updated.
+ * java/util/GregorianCalendar.java:
+ (computeFields()): Handle the week that runs over
+ the end of the year and the beginning of the next
+ one, so that it is numbered the same in both years.
+ (getBaseWeekOfYear(int,int,int)): Broken out of
+ computeFields to avoid code duplication.
+ (getRelativeWeekday(int)): Likewise.
+
2014-11-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/64109