Home
last modified time | relevance | path

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

/PHP-5.3/ext/intl/tests/
H A Ddateformat_get_set_calendar.phpt26 $calendar = ut_datefmt_get_calendar( $fmt);
27 $res_str .= "\nAfter call to get_calendar : calendar= $calendar";
35 $res_str .= "\nAfter call to get_calendar : calendar= $calendar";
49 Creating IntlDateFormatter with calendar = 1
50 After call to get_calendar : calendar= 1
52 Setting IntlDateFormatter with calendar = 1
53 After call to get_calendar : calendar= 1
55 Setting IntlDateFormatter with calendar = 0
56 After call to get_calendar : calendar= 0
58 Setting IntlDateFormatter with calendar = 3
[all …]
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 Dut_common.inc332 function ut_datefmt_create( $locale, $datetype, $timetype, $timezone = null, $calendar = null ,$pat…
334 …tetype, $timetype, $timezone, $calendar ,$pattern ) : datefmt_create( $locale, $datetype, $timetyp…
348 function ut_datefmt_set_calendar( $fmt ,$calendar )
350 …return $GLOBALS['oo-mode'] ? $fmt->setCalendar( $calendar ) : datefmt_set_calendar( $fmt , $calend…
/PHP-5.3/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)
223 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
253 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
264 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.3/ext/intl/dateformat/
H A Ddateformat_attr.c30 …lDateFormatter_object *dfo, char* timezone_id, int timezone_id_len, int calendar, zval* return_val… in internal_set_calendar() argument
39 if( calendar > 1){ in internal_set_calendar()
53 …ucal_obj = ucal_open(timezone_utf16, timezone_utf16_len, locale, calendar, &INTL_DATA_ERROR_CODE(d… in internal_set_calendar()
137 RETURN_LONG(dfo->calendar); in PHP_FUNCTION()
194 internal_set_calendar( dfo, timezone_id, timezone_id_len, dfo->calendar, return_value TSRMLS_CC ); in PHP_FUNCTION()
381 long calendar = 0; in PHP_FUNCTION() local
387 &object, IntlDateFormatter_ce_ptr, &calendar ) == FAILURE ) { in PHP_FUNCTION()
395 if (calendar > 1) { in PHP_FUNCTION()
403 …internal_set_calendar( dfo, dfo->timezone_id, strlen(dfo->timezone_id), calendar, return_value TSR… in PHP_FUNCTION()
406 dfo->calendar = calendar; in PHP_FUNCTION()
H A Ddateformat.c78 long calendar = UCAL_GREGORIAN; in datefmt_ctor() local
94 …&locale, &locale_len, &date_type, &time_type, &timezone_str, &timezone_str_len, &calendar,&pattern… in datefmt_ctor()
103 if (calendar != UCAL_TRADITIONAL && calendar != UCAL_GREGORIAN) { in datefmt_ctor()
155 if (calendar != UCAL_TRADITIONAL) { in datefmt_ctor()
157 calendar, &INTL_DATA_ERROR_CODE(dfo)); in datefmt_ctor()
176 dfo->calendar = calendar; in datefmt_ctor()
H A Ddateformat_class.h31 int calendar ; member
H A Ddateformat_class.c70 intern->calendar = 1; /* Gregorian calendar */ in IntlDateFormatter_object_create()
153 ZEND_ARG_INFO(0, calendar)
/PHP-5.3/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.3/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
H A Dcal_days_in_month_invalid_date.phpt7 <?php if (!extension_loaded("calendar")) { echo "skip extension not available"; } ?>
/PHP-5.3/ext/calendar/tests/
H A Dskipif.inc2 if(!extension_loaded("calendar"))
H A Djdtomonthname.phpt4 <?php if (!extension_loaded("calendar")) print "skip"; ?>
H A Dcal_info.phpt216 Warning: cal_info(): invalid calendar ID 99999. in %s on line %d
/PHP-5.3/win32/
H A Dphp5dll.dsp923 SOURCE=..\ext\calendar\cal_unix.c
927 SOURCE=..\ext\calendar\calendar.c
931 SOURCE=..\ext\calendar\dow.c
935 SOURCE=..\ext\calendar\easter.c
939 SOURCE=..\ext\calendar\french.c
943 SOURCE=..\ext\calendar\gregor.c
947 SOURCE=..\ext\calendar\jewish.c
951 SOURCE=..\ext\calendar\julian.c
959 SOURCE=..\ext\calendar\php_calendar.h
963 SOURCE=..\ext\calendar\sdncal.h
H A Dphp5dllts.dsp775 SOURCE=..\ext\calendar\cal_unix.c
776 # PROP Intermediate_Dir "calendar"
780 SOURCE=..\ext\calendar\calendar.c
781 # PROP Intermediate_Dir "calendar"
785 SOURCE=..\ext\calendar\dow.c
790 SOURCE=..\ext\calendar\easter.c
795 SOURCE=..\ext\calendar\french.c
800 SOURCE=..\ext\calendar\gregor.c
805 SOURCE=..\ext\calendar\jewish.c
810 SOURCE=..\ext\calendar\julian.c
[all …]
/PHP-5.3/ext/intl/
H A Dphp_intl.c307 ZEND_ARG_INFO(0, calendar)
320 ZEND_ARG_INFO(0, calendar)
/PHP-5.3/
H A DEXTENSIONS323 EXTENSION: calendar
/PHP-5.3/ext/fileinfo/tests/
H A Dmagic10739 0 string/c BEGIN:VCALENDAR vCalendar calendar file

Completed in 93 milliseconds