xref: /PHP-8.0/ext/intl/dateformat/dateformat.h (revision f00bcfbb)
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    | http://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: Kirti Velankar <kirtig@yahoo-inc.com>                       |
12    +----------------------------------------------------------------------+
13 */
14 #ifndef DATE_FORMATTER_H
15 #define DATE_FORMATTER_H
16 
17 #include <php.h>
18 
19 void dateformat_register_constants( INIT_FUNC_ARGS );
20 
21 /*
22 These are not necessary at this point of time
23 #define DATEF_GREGORIAN 1
24 #define DATEF_CUSTOMARY 2
25 #define DATEF_BUDDHIST 3
26 #define DATEF_JAPANESE_IMPERIAL 4
27 */
28 
29 #define CALENDAR_SEC "tm_sec"
30 #define CALENDAR_MIN "tm_min"
31 #define CALENDAR_HOUR "tm_hour"
32 #define CALENDAR_MDAY "tm_mday"
33 #define CALENDAR_MON "tm_mon"
34 #define CALENDAR_YEAR "tm_year"
35 #define CALENDAR_WDAY "tm_wday"
36 #define CALENDAR_YDAY "tm_yday"
37 #define CALENDAR_ISDST "tm_isdst"
38 
39 #endif // DATE_FORMATTER_H
40