diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2014-12-22 01:31:38 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2014-12-22 01:31:38 +0000 |
commit | f74797dcba95e7902cb1364deb718c2633ff3bb3 (patch) | |
tree | a80b6458b16d2b5fb8f938cedf1696b33e96b48a /ChangeLog | |
parent | 2016893a79012414f0dd2475230e17bf0b846aed (diff) | |
download | classpath-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-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |