]> granicus.if.org Git - icu/commitdiff
ICU-8780 Added a note to getGMT() explaining that the ID used by the result zone...
authorYoshito Umaoka <y.umaoka@gmail.com>
Tue, 6 Sep 2011 20:52:28 +0000 (20:52 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Tue, 6 Sep 2011 20:52:28 +0000 (20:52 +0000)
X-SVN-Rev: 30622

icu4c/source/i18n/unicode/timezone.h

index 059e55ac0cb360b3637279fd1b1c4ecada9ba7de..a37014d17be540d2f0fdb2214746a48d9e96104b 100644 (file)
@@ -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.
+     *
+     * <p>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
      */