1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 7 | 4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | http://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 13 | Authors: Gustavo Lopes <cataphract@netcabo.pt> | 14 +----------------------------------------------------------------------+ 15 */ 16 17 #ifndef TIMEZONE_METHODS_H 18 #define TIMEZONE_METHODS_H 19 20 #include <php.h> 21 22 PHP_METHOD(IntlTimeZone, __construct); 23 24 PHP_FUNCTION(intltz_create_time_zone); 25 26 PHP_FUNCTION(intltz_from_date_time_zone); 27 28 PHP_FUNCTION(intltz_create_default); 29 30 PHP_FUNCTION(intltz_get_id); 31 32 PHP_FUNCTION(intltz_get_gmt); 33 34 PHP_FUNCTION(intltz_get_unknown); 35 36 PHP_FUNCTION(intltz_create_enumeration); 37 38 PHP_FUNCTION(intltz_count_equivalent_ids); 39 40 PHP_FUNCTION(intltz_create_time_zone_id_enumeration); 41 42 PHP_FUNCTION(intltz_get_canonical_id); 43 44 PHP_FUNCTION(intltz_get_region); 45 46 PHP_FUNCTION(intltz_get_tz_data_version); 47 48 PHP_FUNCTION(intltz_get_equivalent_id); 49 50 PHP_FUNCTION(intltz_use_daylight_time); 51 52 PHP_FUNCTION(intltz_get_offset); 53 54 PHP_FUNCTION(intltz_get_raw_offset); 55 56 PHP_FUNCTION(intltz_has_same_rules); 57 58 PHP_FUNCTION(intltz_get_display_name); 59 60 PHP_FUNCTION(intltz_get_dst_savings); 61 62 PHP_FUNCTION(intltz_to_date_time_zone); 63 64 PHP_FUNCTION(intltz_get_error_code); 65 66 PHP_FUNCTION(intltz_get_error_message); 67 68 #if U_ICU_VERSION_MAJOR_NUM >= 52 69 PHP_FUNCTION(intltz_get_windows_id); 70 PHP_FUNCTION(intltz_get_id_for_windows_id); 71 #endif 72 73 #endif /* #ifndef TIMEZONE_METHODS_H */ 74