Home
last modified time | relevance | path

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

123456

/PHP-8.1/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
11 function cal_from_jd(int $julian_day, int $calendar): array {} argument
17 function cal_info(int $calendar = -1): array {} argument
19 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.1/ext/intl/
H A Dphp_intl.stub.php24 function intlcal_get(IntlCalendar $calendar, int $field): int|false {} argument
26 function intlcal_get_time(IntlCalendar $calendar): float|false {} argument
28 function intlcal_set_time(IntlCalendar $calendar, float $timestamp): bool {} argument
33 function intlcal_set_time_zone(IntlCalendar $calendar, $timezone): bool {} argument
42 function intlcal_roll(IntlCalendar $calendar, int $field, $value): bool {} argument
72 function intlcal_get_type(IntlCalendar $calendar): string {} argument
76 function intlcal_in_daylight_time(IntlCalendar $calendar): bool {} argument
78 function intlcal_is_lenient(IntlCalendar $calendar): bool {} argument
80 function intlcal_is_set(IntlCalendar $calendar, int $field): bool {} argument
104 function intlcal_get_error_code(IntlCalendar $calendar): int|false {} argument
[all …]
/PHP-8.1/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.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_calendars_variant3.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_variant3.php(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0,…
H A Ddateformat_calendars_variant_icu72-1.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 %s(%d): IntlDateFormatter->__construct('en_US@calendar=...', 0, 0, 'GMT+05:12', -1)
H A Ddateformat___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
34 …efmt_create: Invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo…
36 Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|i…
H A Dcalendar_getKeywordValuesForLocale_basic.phpt12 IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)
17 intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
H A Ddateformat_get_set_calendar.phpt24 $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 Ddateformat_get_set_calendar_variant2.phpt24 $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 Ddateformat_get_set_calendar_variant3.phpt25 $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-8.1/ext/calendar/tests/
H A Dcal_from_jd_error1.phpt6 calendar
16 cal_from_jd(): Argument #2 ($calendar) must be a valid calendar ID
H A Dcal_to_jd_error1.phpt6 calendar
16 cal_to_jd(): Argument #1 ($calendar) must be a valid calendar ID
H A Dcal_days_in_month_error1.phpt6 calendar
21 cal_days_in_month(): Argument #1 ($calendar) must be a valid calendar ID
H A Dbug67976.phpt2 Bug #67976 (cal_days_month() fails for final month of the French calendar)
4 calendar
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat.stub.php9 * @param IntlCalendar|int|null $calendar
16 $calendar = null, argument
30 IntlCalendar|int|null $calendar = null,
56 public function setCalendar(IntlCalendar|int|null $calendar): bool {} argument

Completed in 88 milliseconds

123456