Back to index

php5  5.3.10
dateformat.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | This source file is subject to version 3.01 of the PHP license,      |
00006    | that is bundled with this package in the file LICENSE, and is        |
00007    | available through the world-wide-web at the following url:           |
00008    | http://www.php.net/license/3_01.txt                                  |
00009    | If you did not receive a copy of the PHP license and are unable to   |
00010    | obtain it through the world-wide-web, please send a note to          |
00011    | license@php.net so we can mail you a copy immediately.               |
00012    +----------------------------------------------------------------------+
00013    | Authors: Kirti Velankar <kirtig@yahoo-inc.com>                       |
00014    +----------------------------------------------------------------------+
00015 */
00016 #ifndef DATE_FORMATTER_H
00017 #define DATE_FORMATTER_H
00018 
00019 #include <php.h>
00020 
00021 PHP_FUNCTION( datefmt_create );
00022 PHP_FUNCTION( datefmt_get_error_code );
00023 PHP_FUNCTION( datefmt_get_error_message );
00024 PHP_METHOD( IntlDateFormatter, __construct );
00025 void dateformat_register_constants( INIT_FUNC_ARGS );
00026 
00027 /*
00028 These are not necessary at this point of time
00029 #define DATEF_GREGORIAN 1
00030 #define DATEF_CUSTOMARY 2
00031 #define DATEF_BUDDHIST 3
00032 #define DATEF_JAPANESE_IMPERIAL 4
00033 */
00034 
00035 #define CALENDAR_SEC "tm_sec"
00036 #define CALENDAR_MIN "tm_min"
00037 #define CALENDAR_HOUR "tm_hour"
00038 #define CALENDAR_MDAY "tm_mday"
00039 #define CALENDAR_MON "tm_mon"
00040 #define CALENDAR_YEAR "tm_year"
00041 #define CALENDAR_WDAY "tm_wday"
00042 #define CALENDAR_YDAY "tm_yday"
00043 #define CALENDAR_ISDST "tm_isdst"
00044 
00045 #endif // DATE_FORMATTER_H