Lines Matching refs:calendar
50 ZEND_ARG_INFO(0, calendar)
54 ZEND_ARG_INFO(0, calendar)
60 ZEND_ARG_INFO(0, calendar)
68 ZEND_ARG_INFO(0, calendar)
161 PHP_MINIT(calendar),
165 PHP_MINFO(calendar),
171 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 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 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()
399 struct cal_entry_t *calendar; in PHP_FUNCTION() local
409 calendar = &cal_conversion_table[cal]; in PHP_FUNCTION()
413 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
439 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month]); in PHP_FUNCTION()
440 add_assoc_string(return_value, "monthname", calendar->month_name_long[month]); in PHP_FUNCTION()