xref: /php-src/ext/intl/dateformat/dateformat.h (revision c1da9e79)
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: 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 /*
20 These are not necessary at this point of time
21 #define DATEF_GREGORIAN 1
22 #define DATEF_CUSTOMARY 2
23 #define DATEF_BUDDHIST 3
24 #define DATEF_JAPANESE_IMPERIAL 4
25 */
26 
27 #define CALENDAR_SEC "tm_sec"
28 #define CALENDAR_MIN "tm_min"
29 #define CALENDAR_HOUR "tm_hour"
30 #define CALENDAR_MDAY "tm_mday"
31 #define CALENDAR_MON "tm_mon"
32 #define CALENDAR_YEAR "tm_year"
33 #define CALENDAR_WDAY "tm_wday"
34 #define CALENDAR_YDAY "tm_yday"
35 #define CALENDAR_ISDST "tm_isdst"
36 
37 #endif // DATE_FORMATTER_H
38