From: Yoshito Umaoka Date: Tue, 6 Sep 2011 20:52:28 +0000 (+0000) Subject: ICU-8780 Added a note to getGMT() explaining that the ID used by the result zone... X-Git-Tag: milestone-59-0-1~4550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28a3ac4e9f22c4082b6b4cbf5ada422cd26ac600;p=icu ICU-8780 Added a note to getGMT() explaining that the ID used by the result zone is 'GMT', not 'Etc/GMT'. X-SVN-Rev: 30622 --- diff --git a/icu4c/source/i18n/unicode/timezone.h b/icu4c/source/i18n/unicode/timezone.h index 059e55ac0cb..a37014d17be 100644 --- a/icu4c/source/i18n/unicode/timezone.h +++ b/icu4c/source/i18n/unicode/timezone.h @@ -130,6 +130,11 @@ public: /** * The GMT time zone has a raw offset of zero and does not use daylight * savings time. This is a commonly used time zone. + * + *

Note: For backward compatibility reason, the ID used by the time + * zone returned by this method is "GMT", although the ICU's canonical + * ID for the GMT time zone is "Etc/GMT". + * * @return the GMT time zone. * @stable ICU 2.0 */