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@php.net> | 14 +----------------------------------------------------------------------+ 15 */ 16 17 #ifndef COMMON_DATE_H 18 #define COMMON_DATE_H 19 20 #include <unicode/umachine.h> 21 22 U_CDECL_BEGIN 23 #include <php.h> 24 #include "../intl_error.h" 25 U_CDECL_END 26 27 #ifdef __cplusplus 28 29 #include <unicode/timezone.h> 30 31 U_CFUNC TimeZone *timezone_convert_datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func); 32 U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz, 33 intl_error *err, const char *func); 34 35 #endif 36 37 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func); 38 39 #endif /* COMMON_DATE_H */ 40