mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-24 10:04:27 +08:00
natGregorianCalendar.cc (computeFields): Set the isSet__ array elements to true.
* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__ array elements to true. From-SVN: r37081
This commit is contained in:
parent
df98a50bb0
commit
128e977c58
@ -1,3 +1,8 @@
|
||||
2000-10-27 Warren Levy <warrenl@cygnus.com>
|
||||
|
||||
* java/util/natGregorianCalendar.cc (computeFields): Set the isSet__
|
||||
array elements to true.
|
||||
|
||||
2000-10-27 Warren Levy <warrenl@cygnus.com>
|
||||
|
||||
* Makefile.am: Added locale files from Classpath.
|
||||
|
@ -111,4 +111,6 @@ java::util::GregorianCalendar::computeFields ()
|
||||
elements(fields)[DST_OFFSET] = tim.tm_isdst <= 0 ? 0 : 60*60*1000;
|
||||
elements(fields)[ZONE_OFFSET] = getTimeZone()->getRawOffset();
|
||||
areFieldsSet = true;
|
||||
for (int i = 0; i < FIELD_COUNT; i++)
|
||||
elements(isSet__)[i] = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user