php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
common_date.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | This source file is subject to version 3.01 of the PHP license, |
4 | that is bundled with this package in the file LICENSE, and is |
5 | available through the world-wide-web at the following url: |
6 | https://www.php.net/license/3_01.txt |
7 | If you did not receive a copy of the PHP license and are unable to |
8 | obtain it through the world-wide-web, please send a note to |
9 | license@php.net so we can mail you a copy immediately. |
10 +----------------------------------------------------------------------+
11 | Authors: Gustavo Lopes <cataphract@php.net> |
12 +----------------------------------------------------------------------+
13*/
14
15#ifndef COMMON_DATE_H
16#define COMMON_DATE_H
17
18#include <unicode/umachine.h>
19
20U_CDECL_BEGIN
21#include <php.h>
22#include "../intl_error.h"
23U_CDECL_END
24
25#ifdef __cplusplus
26
27#include <unicode/timezone.h>
28
29using icu::TimeZone;
30
31U_CFUNC TimeZone *timezone_convert_datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func);
32U_CFUNC int intl_datetime_decompose(zval *z, double *millis, TimeZone **tz,
33 intl_error *err, const char *func);
34
35#endif
36
37U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func);
38
39#endif /* COMMON_DATE_H */
U_CDECL_BEGIN U_CDECL_END U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func)
zend_ffi_type * type
Definition ffi.c:3812
char * err
Definition ffi.c:3029
struct _intl_error intl_error
void TimeZone
struct _zval_struct zval
execute_data func