summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_methods.h
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2016-03-16 00:32:36 +0000
committerSara Golemon <pollita@php.net>2016-04-18 23:01:25 +0000
commita9568d54858912cd741df183f8eee2493361de7f (patch)
treecd50b2302188b63b06d59dde9dc32a8687fc1b4d /ext/intl/timezone/timezone_methods.h
parent0f8d0df938f740ad0c9429ae966041a4aa55464b (diff)
downloadphp-git-a9568d54858912cd741df183f8eee2493361de7f.tar.gz
Update IntlTimeZone methods for ICU 52
Adds: string IntlTimeZone::getWindowsID(string id) string IntlTimeZone::getIDForWindowsID(string winID[, string region]) And matching procedural functions
Diffstat (limited to 'ext/intl/timezone/timezone_methods.h')
-rw-r--r--ext/intl/timezone/timezone_methods.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/intl/timezone/timezone_methods.h b/ext/intl/timezone/timezone_methods.h
index 29d72913fd..6e6fa3f472 100644
--- a/ext/intl/timezone/timezone_methods.h
+++ b/ext/intl/timezone/timezone_methods.h
@@ -65,4 +65,9 @@ PHP_FUNCTION(intltz_get_error_code);
PHP_FUNCTION(intltz_get_error_message);
+#if U_ICU_VERSION_MAJOR_NUM >= 52
+PHP_FUNCTION(intltz_get_windows_id);
+PHP_FUNCTION(intltz_get_id_for_windows_id);
+#endif
+
#endif /* #ifndef TIMEZONE_METHODS_H */