Lines Matching refs:month
64 typedef zend_long (*cal_to_jd_func_t) (int month, int day, int year);
65 typedef void (*cal_from_jd_func_t) (zend_long jd, int *year, int *month, int *day);
66 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
206 zend_long cal, month, year; in PHP_FUNCTION() local
210 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &cal, &month, &year) == FAILURE) { in PHP_FUNCTION()
221 sdn_start = calendar->to_jd(year, month, 1); in PHP_FUNCTION()
228 sdn_next = calendar->to_jd(year, 1 + month, 1); in PHP_FUNCTION()
253 zend_long cal, month, day, year; in PHP_FUNCTION() local
255 if (zend_parse_parameters(ZEND_NUM_ARGS(), "llll", &cal, &month, &day, &year) != SUCCESS) { in PHP_FUNCTION()
264 RETURN_LONG(cal_conversion_table[cal].to_jd(year, month, day)); in PHP_FUNCTION()
272 int month, day, year, dow; in PHP_FUNCTION() local
287 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
290 zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
292 add_assoc_long(return_value, "month", month); in PHP_FUNCTION()
310 add_assoc_string(return_value, "abbrevmonth", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
311 add_assoc_string(return_value, "monthname", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
313 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month]); in PHP_FUNCTION()
314 add_assoc_string(return_value, "monthname", calendar->month_name_long[month]); in PHP_FUNCTION()
323 int year, month, day; in PHP_FUNCTION() local
329 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
331 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
338 zend_long year, month, day; in PHP_FUNCTION() local
340 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
344 RETURN_LONG(GregorianToSdn(year, month, day)); in PHP_FUNCTION()
352 int year, month, day; in PHP_FUNCTION() local
358 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
360 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
367 zend_long year, month, day; in PHP_FUNCTION() local
369 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
373 RETURN_LONG(JulianToSdn(year, month, day)); in PHP_FUNCTION()
478 int year, month, day; in PHP_FUNCTION() local
485 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
487 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
494 … %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONTH_NAME(year)[month], heb_number_to_ch… in PHP_FUNCTION()
509 zend_long year, month, day; in PHP_FUNCTION() local
511 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
515 RETURN_LONG(JewishToSdn(year, month, day)); in PHP_FUNCTION()
523 int year, month, day; in PHP_FUNCTION() local
529 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
531 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
538 zend_long year, month, day; in PHP_FUNCTION() local
540 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
544 RETURN_LONG(FrenchToSdn(year, month, day)); in PHP_FUNCTION()
583 int month, day, year; in PHP_FUNCTION() local
591 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
592 monthname = MonthNameLong[month]; in PHP_FUNCTION()
595 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
596 monthname = MonthNameShort[month]; in PHP_FUNCTION()
599 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
600 monthname = MonthNameLong[month]; in PHP_FUNCTION()
603 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
604 monthname = (year > 0 ? JEWISH_MONTH_NAME(year)[month] : ""); in PHP_FUNCTION()
607 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
608 monthname = FrenchMonthName[month]; in PHP_FUNCTION()
612 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
613 monthname = MonthNameShort[month]; in PHP_FUNCTION()