From b540f34b4d4a6c059b3f202f248392f5b73abf26 Mon Sep 17 00:00:00 2001 From: Doug Felt Date: Sat, 4 Jun 2005 03:11:47 +0000 Subject: [PATCH] ICU-646 wall time support in icu4j X-SVN-Rev: 17802 --- icu4j/src/com/ibm/icu/text/SimpleDateFormat.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/icu4j/src/com/ibm/icu/text/SimpleDateFormat.java b/icu4j/src/com/ibm/icu/text/SimpleDateFormat.java index 22e1e6aecb1..62cce7106d6 100755 --- a/icu4j/src/com/ibm/icu/text/SimpleDateFormat.java +++ b/icu4j/src/com/ibm/icu/text/SimpleDateFormat.java @@ -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];