Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/calendar/
H A Dconfig.m45 PHP_ARG_ENABLE(calendar,whether to enable calendar conversion support,
6 [ --enable-calendar Enable support for calendar conversion])
10 …PHP_NEW_EXTENSION(calendar, calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix…
H A Dconfig.w324 ARG_ENABLE("calendar", "calendar conversion support", "yes");
7 EXTENSION("calendar", "calendar.c dow.c french.c gregor.c jewish.c \
9 AC_DEFINE('HAVE_CALENDAR', 1, 'Have calendar');
H A Dcalendar.c48 ZEND_ARG_INFO(0, calendar)
52 ZEND_ARG_INFO(0, calendar)
58 ZEND_ARG_INFO(0, calendar)
66 ZEND_ARG_INFO(0, calendar)
159 PHP_MINIT(calendar),
163 PHP_MINFO(calendar),
169 ZEND_GET_MODULE(calendar)
226 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
256 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
267 struct cal_entry_t *calendar; in _php_cal_info() local
[all …]
H A Dphp_calendar.h9 PHP_MINIT_FUNCTION(calendar);
10 PHP_MINFO_FUNCTION(calendar);
/PHP-5.5/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_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_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___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
27 …efmt_create: invalid value for calendar type; it must be one of IntlDateFormatter::TRADITIONAL (lo…
30 Warning: IntlDateFormatter::__construct(): datefmt_create: Invalid calendar argument; should be an …
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…
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…
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…
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_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 Dcalendar_getKeywordValuesForLocale_basic.phpt16 IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)
21 intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
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
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);
H A Dresourcebundle_null_mandatory_args.phpt14 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
19 $c = $r->get('calendar')->get('gregorian')->get('DateTimePatterns')->get(0);
/PHP-5.5/ext/intl/dateformat/
H A Ddateformat_create.cpp49 Calendar *calendar = NULL; in datefmt_ctor() local
89 INTL_DATA_ERROR_P(dfo), calendar, calendar_type, in datefmt_ctor()
132 df->adoptCalendar(calendar); in datefmt_ctor()
135 df->setCalendar(*calendar); in datefmt_ctor()
150 dfo->calendar = calendar_type; in datefmt_ctor()
160 if (calendar != NULL && calendar_owned) { in datefmt_ctor()
161 delete calendar; in datefmt_ctor()
/PHP-5.5/ext/intl/doc/
H A Ddatefmt_api.php59 * @param [integer] $calendar Calendar to use for formatting or parsing; default is
66 …public function __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pa… argument
75 * @param [integer] $calendar Calendar to use for formatting or parsing; default is
82 …public static function create($locale, $datetype, $timetype, $timezone = null, $calendar= null , $… argument
256 * @param [integer] $calendar Calendar to use for formatting or parsing; default is
262 …function datefmt_create($locale, $datetype, $timetype, $timezone = null, $calendar= null ,$pattern… argument
/PHP-5.5/ext/date/tests/
H A Dcal_days_in_month_invalid_calendar.phpt7 <?php if (!extension_loaded("calendar")) { echo "skip extension not available"; } ?>
15 Warning: cal_days_in_month(): invalid calendar ID 99. in %s on line %d
/PHP-5.5/ext/intl/
H A Dphp_intl.c349 ZEND_ARG_INFO(0, calendar)
369 ZEND_ARG_INFO(0, calendar)
508 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
515 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
520 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
525 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
530 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
535 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
546 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
552 ZEND_ARG_OBJ_INFO( 0, calendar, IntlCalendar, 0 )
[all …]
H A Dconfig.m478 calendar/calendar_class.cpp \
79 calendar/calendar_methods.cpp \
80 calendar/gregoriancalendar_methods.cpp \
101 PHP_ADD_BUILD_DIR($ext_builddir/calendar)
/PHP-5.5/ext/intl/calendar/
H A Dcalendar_class.h57 void calendar_object_create(zval *object, Calendar *calendar TSRMLS_DC);
61 void calendar_object_construct(zval *object, Calendar *calendar TSRMLS_DC);

Completed in 45 milliseconds

123