Home
last modified time | relevance | path

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

123456

/php-src/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 [Define to 1 if the PHP extension 'calendar' is available.])
9 PHP_NEW_EXTENSION([calendar],
10 [calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix.c],
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, "Define to 1 if the PHP extension 'calendar' is available.");
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-src/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
208 function intlcal_roll(IntlCalendar $calendar, int $field, $value): bool {} argument
238 function intlcal_get_type(IntlCalendar $calendar): string {} argument
242 function intlcal_in_daylight_time(IntlCalendar $calendar): bool {} argument
244 function intlcal_is_lenient(IntlCalendar $calendar): bool {} argument
246 function intlcal_is_set(IntlCalendar $calendar, int $field): bool {} argument
268 function intlcal_to_date_time(IntlCalendar $calendar): DateTime|false {} argument
270 function intlcal_get_error_code(IntlCalendar $calendar): int|false {} argument
[all …]
H A Dphp_intl_arginfo.h22 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
27 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
31 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
36 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
42 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
47 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
54 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
64 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
70 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
75 ZEND_ARG_OBJ_INFO(0, calendar, IntlCalendar, 0)
[all …]
/php-src/ext/intl/tests/
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_create_cal_arg_variant4.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_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_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___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_variant_icu70.phpt26 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
30 //changing the calendar with a cal type should not change tz
34 //but changing with an actual calendar should
H A Ddateformat_get_set_calendar_variant4.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_variant5.phpt26 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
30 //changing the calendar with a cal type should not change tz
34 //but changing with an actual calendar should
H A Dresourcebundle_null_mandatory_args_variant_icu72-1.phpt14 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
19 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
H A Dresourcebundle_null_mandatory_args_variant2.phpt14 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
19 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
/php-src/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-src/ext/intl/dateformat/
H A Ddateformat.stub.php36 * @param IntlCalendar|int|null $calendar
43 $calendar = null, argument
57 IntlCalendar|int|null $calendar = null,
83 public function setCalendar(IntlCalendar|int|null $calendar): bool {} argument
/php-src/ext/intl/calendar/
H A Dcalendar_class.h62 void calendar_object_create(zval *object, Calendar *calendar);
66 void calendar_object_construct(zval *object, Calendar *calendar);
H A Dcalendar_class.cpp44 Calendar *calendar) in calendar_object_create() argument
46 UClassID classId = calendar->getDynamicClassID(); in calendar_object_create()
57 calendar_object_construct(object, calendar); in calendar_object_create()
68 Calendar *calendar) in calendar_object_construct() argument
74 co->ucal = (Calendar*)calendar; in calendar_object_construct()

Completed in 39 milliseconds

123456