[Bug libgcj/18083] Calendar returns incorrect values for DAY_OF_YEAR and DAY_OF_WEEK after calling add().
mnefedov at rogers dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 20 17:33:00 GMT 2004
------- Additional Comments From mnefedov at rogers dot com 2004-10-20 17:33 -------
This could be a workaround. Do this: cal.setTime( cal.getTime() )
before calling get( Calendar.DAY_OF_{YEAR|WEEK} );
Seems to fix the problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18083
More information about the Java-prs
mailing list