Home
last modified time | relevance | path

Searched refs:calendar (Results 1 – 25 of 101) sorted by relevance

12345

/PHP-8.0/ext/calendar/
H A Dconfig.m41 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 Dconfig.w323 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 Dcalendar.c42 PHP_MINIT(calendar),
46 PHP_MINFO(calendar),
52 ZEND_GET_MODULE(calendar)
110 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
140 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
151 const struct cal_entry_t *calendar; in _php_cal_info() local
153 calendar = &cal_conversion_table[cal]; in _php_cal_info()
207 const struct cal_entry_t *calendar; in PHP_FUNCTION() local
219 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
235 sdn_next = calendar->to_jd(1, 1, 1); in PHP_FUNCTION()
[all …]
H A Dcalendar.stub.php5 function cal_days_in_month(int $calendar, int $month, int $year): int {} argument
7 function cal_from_jd(int $julian_day, int $calendar): array {} argument
9 function cal_info(int $calendar = -1): array {} argument
11 function cal_to_jd(int $calendar, int $month, int $day, int $year): int {} argument
H A Dphp_calendar.h12 PHP_MINIT_FUNCTION(calendar);
13 PHP_MINFO_FUNCTION(calendar);
/PHP-8.0/ext/intl/
H A Dphp_intl.stub.php20 function intlcal_get(IntlCalendar $calendar, int $field): int|false {} argument
22 function intlcal_get_time(IntlCalendar $calendar): float|false {} argument
24 function intlcal_set_time(IntlCalendar $calendar, float $timestamp): bool {} argument
29 function intlcal_set_time_zone(IntlCalendar $calendar, $timezone): bool {} argument
31 function intlcal_after(IntlCalendar $calendar, IntlCalendar $other): bool {} argument
38 function intlcal_roll(IntlCalendar $calendar, int $field, $value): bool {} argument
68 function intlcal_get_type(IntlCalendar $calendar): string {} argument
72 function intlcal_in_daylight_time(IntlCalendar $calendar): bool {} argument
74 function intlcal_is_lenient(IntlCalendar $calendar): bool {} argument
76 function intlcal_is_set(IntlCalendar $calendar, int $field): bool {} argument
[all …]
/PHP-8.0/ext/calendar/tests/
H A Dbug67976.phpt2 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 Djdtojewish_overflow.phpt7 if (!extension_loaded('calendar')) die('skip ext/calendar required');
H A Dcal_from_jd_error1.phpt16 cal_from_jd(): Argument #2 ($calendar) must be a valid calendar ID
H A Dcal_to_jd_error1.phpt16 cal_to_jd(): Argument #1 ($calendar) must be a valid calendar ID
H A Djdtogregorian_overflow.phpt7 if (!extension_loaded('calendar')) die('skip ext/calendar required');
H A Dbug71894.phpt5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
H A Dbug80185.phpt5 if (!extension_loaded('calendar')) die('skip ext/calendar required');
H A Dcal_days_in_month_error1.phpt21 cal_days_in_month(): Argument #1 ($calendar) must be a valid calendar ID
/PHP-8.0/ext/intl/tests/
H A Ddateformat_create_cal_arg.phpt2 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 Ddateformat_create_cal_arg_variant2.phpt2 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 Ddateformat_create_cal_arg_variant3.phpt2 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 Ddateformat_create_cal_arg_variant4.phpt2 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 Ddateformat_create_cal_arg_variant5.phpt2 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 Ddateformat_calendars_variant3.phpt23 $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 Ddateformat_calendars.phpt23 $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 Ddateformat_calendars_variant2.phpt24 $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 Ddateformat___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
36 …efmt_create: Invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo…
38 Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|i…
H A Dcalendar_getKeywordValuesForLocale_basic.phpt14 IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)
19 intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat.stub.php9 * @param IntlCalendar|int|null $calendar
11 …truct(?string $locale, int $dateType, int $timeType, $timezone = null, $calendar = null, ?string $… argument
18 … int $dateType, int $timeType, $timezone = null, IntlCalendar|int|null $calendar = null, ?string $… argument
42 public function setCalendar(IntlCalendar|int|null $calendar) {} argument

Completed in 28 milliseconds

12345