From 3b84d14076b3736b3c43fe22f144cf18c3cd8af0 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Tue, 13 Dec 2011 17:44:31 +0000 Subject: [PATCH] ICU-8887 Update timezone doc in ICU4J X-SVN-Rev: 31110 --- .../classes/core/src/com/ibm/icu/util/TimeZone.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java b/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java index 774c0454bed..2567b30414e 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java @@ -48,7 +48,8 @@ import com.ibm.icu.util.ULocale.Category; * * * You can use the {@link #getAvailableIDs()} method to iterate through - * all the supported time zone IDs. You can then choose a + * all the supported time zone IDs, or getCanonicalID method to check + * if a time zone ID is supported or not. You can then choose a * supported ID to get a TimeZone. * If the time zone you want is not represented by one of the * supported IDs, then you can create a custom time zone ID with @@ -62,10 +63,12 @@ import com.ibm.icu.util.ULocale.Category; * * For example, you might specify GMT+14:00 as a custom * time zone ID. The TimeZone that is returned - * when you specify a custom time zone ID does not include - * daylight savings time. If a custom time zone ID is used, - * the meaning of what a positive offset is should also be specified. - * In addition, getCanonicalID can also be used to + * when you specify a custom time zone ID uses the specified + * offset from GMT(=UTC) and does not observe daylight saving + * time. For example, you might specify GMT+14:00 as a custom + * time zone ID to create a TimeZone representing 14 hours ahead + * of GMT (with no daylight saving time). In addition, + * getCanonicalID can also be used to * normalize a custom time zone ID. * *

For compatibility with JDK 1.1.x, some other three-letter time zone IDs -- 2.40.0