mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-646 wall time support in icu4j
X-SVN-Rev: 17802
This commit is contained in:
parent
50c3a2554b
commit
b540f34b4d
1 changed files with 2 additions and 5 deletions
|
@ -919,7 +919,7 @@ public class SimpleDateFormat extends DateFormat {
|
|||
{
|
||||
int pos = parsePos.getIndex();
|
||||
int start = pos;
|
||||
boolean[] ambiguousYear = {false};
|
||||
boolean[] ambiguousYear = { false };
|
||||
int count = 0;
|
||||
|
||||
// hack, clear parsedTimeZone
|
||||
|
@ -1132,12 +1132,9 @@ public class SimpleDateFormat extends DateFormat {
|
|||
}
|
||||
|
||||
if (parsedTimeZone != null) {
|
||||
final long MINUTE = 1000 * 60;
|
||||
final long HOUR = MINUTE * 60;
|
||||
|
||||
TimeZone tz = parsedTimeZone;
|
||||
|
||||
// the calendar a number representing the parse as gmt time
|
||||
// the calendar represents the parse as gmt time
|
||||
// we need to turn this into local time, so we add the raw offset
|
||||
// then we ask the timezone to handle this local time
|
||||
int[] offsets = new int[2];
|
||||
|
|
Loading…
Add table
Reference in a new issue