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
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2000-10-27 Warren Levy <warrenl@cygnus.com>
|
||||||
|
|
||||||
* Makefile.am: Added locale files from Classpath.
|
* 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)[DST_OFFSET] = tim.tm_isdst <= 0 ? 0 : 60*60*1000;
|
||||||
elements(fields)[ZONE_OFFSET] = getTimeZone()->getRawOffset();
|
elements(fields)[ZONE_OFFSET] = getTimeZone()->getRawOffset();
|
||||||
areFieldsSet = true;
|
areFieldsSet = true;
|
||||||
|
for (int i = 0; i < FIELD_COUNT; i++)
|
||||||
|
elements(isSet__)[i] = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue