From c5437c6e00d7e1a62a6ed13a729497aa04a84ca9 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 21 May 2018 00:39:51 +0000 Subject: [PATCH] ICU-13300 Added thread safety note to TimeZone::detectHostTimeZone(). X-SVN-Rev: 41421 --- icu4c/source/i18n/unicode/timezone.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icu4c/source/i18n/unicode/timezone.h b/icu4c/source/i18n/unicode/timezone.h index 83dee317784..064703e1587 100644 --- a/icu4c/source/i18n/unicode/timezone.h +++ b/icu4c/source/i18n/unicode/timezone.h @@ -284,6 +284,8 @@ public: * and may return a different TimeZone from the one returned by * TimeZone::createDefault(). * + *

This function is not thread safe.

+ * * @return A new instance of TimeZone detected from the current host system * configuration. * @stable ICU 55