Home
last modified time | relevance | path

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

123456

/PHP-8.2/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.c98 PHP_MINIT(calendar),
102 PHP_MINFO(calendar),
108 ZEND_GET_MODULE(calendar)
111 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
118 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
129 const struct cal_entry_t *calendar; in _php_cal_info() local
131 calendar = &cal_conversion_table[cal]; in _php_cal_info()
185 const struct cal_entry_t *calendar; in PHP_FUNCTION() local
197 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
213 sdn_next = calendar->to_jd(1, 1, 1); in PHP_FUNCTION()
[all …]
H A Dphp_calendar.h12 PHP_MINIT_FUNCTION(calendar);
13 PHP_MINFO_FUNCTION(calendar);
H A Dcalendar.stub.php115 function cal_days_in_month(int $calendar, int $month, int $year): int {} argument
121 function cal_from_jd(int $julian_day, int $calendar): array {} argument
127 function cal_info(int $calendar = -1): array {} argument
129 function cal_to_jd(int $calendar, int $month, int $day, int $year): int {} argument
/PHP-8.2/ext/intl/
H A Dphp_intl.stub.php189 function intlcal_get(IntlCalendar $calendar, int $field): int|false {} argument
191 function intlcal_get_time(IntlCalendar $calendar): float|false {} argument
198 function intlcal_set_time_zone(IntlCalendar $calendar, $timezone): bool {} argument
207 function intlcal_roll(IntlCalendar $calendar, int $field, $value): bool {} argument
237 function intlcal_get_type(IntlCalendar $calendar): string {} argument
241 function intlcal_in_daylight_time(IntlCalendar $calendar): bool {} argument
243 function intlcal_is_lenient(IntlCalendar $calendar): bool {} argument
245 function intlcal_is_set(IntlCalendar $calendar, int $field): bool {} argument
267 function intlcal_to_date_time(IntlCalendar $calendar): DateTime|false {} argument
269 function intlcal_get_error_code(IntlCalendar $calendar): int|false {} argument
[all …]
/PHP-8.2/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.2/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.2/ext/intl/dateformat/
H A Ddateformat.stub.php67 * @param IntlCalendar|int|null $calendar
74 $calendar = null, argument
88 IntlCalendar|int|null $calendar = null,
114 public function setCalendar(IntlCalendar|int|null $calendar): bool {} argument

Completed in 23 milliseconds

123456