<i18n dev> [8]RFR: 6902861: (cal) GregorianCalendar roll WEEK_OF_YEAR is broken for January 1 2010

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Thu Sep 26 02:33:32 PDT 2013


Hi,

Please view the fix (workaround) for the following bug.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6902861

Added a workaround that Calendar.roll tries to stay in the same calendar 
year even when WEEK_OF_YEAR and YEAR are "out of sync". The real fix 
should be to add a new method, like rollWeeksInWeekYear(int amount), 
which handles rolling weeks within a week-based year rather than a 
calendar year.

http://cr.openjdk.java.net/~okutsu/8/6902861/webrev.00/

Thanks,
Masayoshi



More information about the i18n-dev mailing list