Lines Matching refs:calendar
49 ZEND_ARG_INFO(0, calendar)
53 ZEND_ARG_INFO(0, calendar)
59 ZEND_ARG_INFO(0, calendar)
67 ZEND_ARG_INFO(0, calendar)
160 PHP_MINIT(calendar),
164 PHP_MINFO(calendar),
170 ZEND_GET_MODULE(calendar)
228 PHP_MINIT_FUNCTION(calendar) in PHP_MINIT_FUNCTION() argument
258 PHP_MINFO_FUNCTION(calendar) in PHP_MINFO_FUNCTION() argument
269 const struct cal_entry_t *calendar; in _php_cal_info() local
271 calendar = &cal_conversion_table[cal]; in _php_cal_info()
277 for (i = 1; i <= calendar->num_months; i++) { in _php_cal_info()
278 add_index_string(&months, i, calendar->month_name_long[i]); in _php_cal_info()
279 add_index_string(&smonths, i, calendar->month_name_short[i]); in _php_cal_info()
284 add_assoc_long(ret, "maxdaysinmonth", calendar->max_days_in_month); in _php_cal_info()
285 add_assoc_string(ret, "calname", calendar->name); in _php_cal_info()
286 add_assoc_string(ret, "calsymbol", calendar->symbol); in _php_cal_info()
330 const struct cal_entry_t *calendar; in PHP_FUNCTION() local
342 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
344 sdn_start = calendar->to_jd(year, month, 1); in PHP_FUNCTION()
351 sdn_next = calendar->to_jd(year, 1 + month, 1); in PHP_FUNCTION()
358 sdn_next = calendar->to_jd(1, 1, 1); in PHP_FUNCTION()
361 sdn_next = calendar->to_jd(year + 1, 1, 1); in PHP_FUNCTION()
398 const struct cal_entry_t *calendar; in PHP_FUNCTION() local
408 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
412 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
438 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month]); in PHP_FUNCTION()
439 add_assoc_string(return_value, "monthname", calendar->month_name_long[month]); in PHP_FUNCTION()