/PHP-7.4/ext/calendar/ |
H A D | config.m4 | 1 PHP_ARG_ENABLE([calendar], 2 [whether to enable calendar conversion support], 3 [AS_HELP_STRING([--enable-calendar], 4 [Enable support for calendar conversion])]) 8 …PHP_NEW_EXTENSION(calendar, calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix…
|
H A D | config.w32 | 3 ARG_ENABLE("calendar", "calendar conversion support", "yes"); 6 EXTENSION("calendar", "calendar.c dow.c french.c gregor.c jewish.c \ 8 AC_DEFINE('HAVE_CALENDAR', 1, 'Have calendar');
|
H A D | calendar.c | 49 ZEND_ARG_INFO(0, calendar) 53 ZEND_ARG_INFO(0, calendar) 59 ZEND_ARG_INFO(0, calendar) 67 ZEND_ARG_INFO(0, calendar) 160 PHP_MINIT(calendar), 164 PHP_MINFO(calendar), 170 ZEND_GET_MODULE(calendar) 228 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument 258 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument 269 const struct cal_entry_t *calendar; in _php_cal_info() local [all …]
|
H A D | php_calendar.h | 12 PHP_MINIT_FUNCTION(calendar); 13 PHP_MINFO_FUNCTION(calendar);
|
/PHP-7.4/ext/intl/tests/ |
H A D | dateformat_create_cal_arg.phpt | 2 IntlDateFormatter: several forms of the calendar arg 19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic'); 23 //override calendar's timezone 28 //default calendar is gregorian 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 36 //the timezone can be overridden when not specifying a calendar 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
|
H A D | dateformat_create_cal_arg_variant2.phpt | 2 IntlDateFormatter: several forms of the calendar arg 19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic'); 23 //override calendar's timezone 28 //default calendar is gregorian 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 36 //the timezone can be overridden when not specifying a calendar 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
|
H A D | dateformat_create_cal_arg_variant3.phpt | 2 IntlDateFormatter: several forms of the calendar arg 20 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic'); 24 //override calendar's timezone 29 //default calendar is gregorian 30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 //the timezone can be overridden when not specifying a calendar 38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
|
H A D | dateformat_create_cal_arg_variant4.phpt | 2 IntlDateFormatter: several forms of the calendar arg 20 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic'); 24 //override calendar's timezone 29 //default calendar is gregorian 30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 //the timezone can be overridden when not specifying a calendar 38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
|
H A D | dateformat_create_cal_arg_variant5.phpt | 2 IntlDateFormatter: several forms of the calendar arg 19 $cal = IntlCalendar::createInstance('UTC', 'en@calendar=islamic'); 23 //override calendar's timezone 28 //default calendar is gregorian 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 36 //the timezone can be overridden when not specifying a calendar 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
|
H A D | dateformat_calendars.phpt | 23 $fmt3 = new IntlDateFormatter('en_US@calendar=hebrew', 32 new IntlDateFormatter('en_US@calendar=hebrew', 44 …efmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo… 46 #0 %sdateformat_calendars.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+…
|
H A D | dateformat_calendars_variant3.phpt | 23 $fmt3 = new IntlDateFormatter('en_US@calendar=hebrew', 32 new IntlDateFormatter('en_US@calendar=hebrew', 44 …efmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo… 46 #0 %sdateformat_calendars_variant3.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0,…
|
H A D | dateformat_calendars_variant2.phpt | 24 $fmt3 = new IntlDateFormatter('en_US@calendar=hebrew', 33 new IntlDateFormatter('en_US@calendar=hebrew', 45 …efmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo… 47 #0 %sdateformat_calendars_variant2.php(27): IntlDateFormatter->__construct('en_US@calendar=...', 0,…
|
H A D | dateformat___construct_bad_tz_cal.phpt | 2 IntlDateFormatter::__construct(): bad timezone or calendar 37 …efmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo… 39 Exception: IntlDateFormatter::__construct(): datefmt_create: Invalid calendar argument; should be a…
|
H A D | calendar_getKeywordValuesForLocale_basic.phpt | 14 IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true) 19 intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
|
H A D | dateformat_get_set_calendar.phpt | 24 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk'); 28 //changing the calendar with a cal type should not change tz 32 //but changing with an actual calendar should
|
H A D | dateformat_get_set_calendar_variant2.phpt | 24 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk'); 28 //changing the calendar with a cal type should not change tz 32 //but changing with an actual calendar should
|
H A D | dateformat_get_set_calendar_variant_icu70.phpt | 25 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk'); 29 //changing the calendar with a cal type should not change tz 33 //but changing with an actual calendar should
|
/PHP-7.4/ext/calendar/tests/ |
H A D | bug67976.phpt | 2 Bug #67976 (cal_days_month() fails for final month of the French calendar) 5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
H A D | jdtojewish_overflow.phpt | 7 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
H A D | bug80185.phpt | 5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
H A D | bug80185_32bit.phpt | 5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
H A D | jdtogregorian_overflow.phpt | 7 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
H A D | bug71894.phpt | 5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
|
/PHP-7.4/ext/intl/dateformat/ |
H A D | dateformat_create.cpp | 57 Calendar *calendar = NULL; in datefmt_ctor() local 106 INTL_DATA_ERROR_P(dfo), calendar, calendar_type, in datefmt_ctor() 151 df->adoptCalendar(calendar); in datefmt_ctor() 154 df->setCalendar(*calendar); in datefmt_ctor() 169 dfo->calendar = calendar_type; in datefmt_ctor() 179 if (calendar != NULL && calendar_owned) { in datefmt_ctor() 180 delete calendar; in datefmt_ctor()
|
/PHP-7.4/ext/intl/ |
H A D | php_intl.c | 353 ZEND_ARG_INFO(0, calendar) 373 ZEND_ARG_INFO(0, calendar) 501 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 508 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 513 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 518 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 523 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 528 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 539 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) 545 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 ) [all …]
|