Index: source/common/putil.cpp |
diff --git a/source/common/putil.cpp b/source/common/putil.cpp |
index 5f09288613dcc193216f1897c710e4f8ef38a0f0..c87b60e3828814edcafe930b82a3d0e735d6c76a 100644 |
--- a/source/common/putil.cpp |
+++ b/source/common/putil.cpp |
@@ -970,6 +970,15 @@ static char* searchForTZFile(const char* path, DefaultTZInfo* tzInfo) { |
return result; |
} |
#endif |
+ |
+U_CAPI void U_EXPORT2 |
+uprv_tzname_clear_cache() |
+{ |
+#if defined(CHECK_LOCALTIME_LINK) && !defined(DEBUG_SKIP_LOCALTIME_LINK) |
+ gTimeZoneBufferPtr = NULL; |
+#endif |
+} |
+ |
U_CAPI const char* U_EXPORT2 |
uprv_tzname(int n) |
{ |