Lines Matching refs:month
46 typedef zend_long (*cal_to_jd_func_t) (int month, int day, int year);
47 typedef void (*cal_from_jd_func_t) (zend_long jd, int *year, int *month, int *day);
48 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
184 zend_long cal, month, year; in PHP_FUNCTION() local
188 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &cal, &month, &year) == FAILURE) { in PHP_FUNCTION()
199 sdn_start = calendar->to_jd(year, month, 1); in PHP_FUNCTION()
206 sdn_next = calendar->to_jd(year, 1 + month, 1); in PHP_FUNCTION()
231 zend_long cal, month, day, year; in PHP_FUNCTION() local
233 if (zend_parse_parameters(ZEND_NUM_ARGS(), "llll", &cal, &month, &day, &year) != SUCCESS) { in PHP_FUNCTION()
242 RETURN_LONG(cal_conversion_table[cal].to_jd(year, month, day)); in PHP_FUNCTION()
250 int month, day, year, dow; in PHP_FUNCTION() local
265 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
268 zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
270 add_assoc_long(return_value, "month", month); in PHP_FUNCTION()
288 add_assoc_string(return_value, "abbrevmonth", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
289 add_assoc_string(return_value, "monthname", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
291 add_assoc_string(return_value, "abbrevmonth", calendar->month_name_short[month]); in PHP_FUNCTION()
292 add_assoc_string(return_value, "monthname", calendar->month_name_long[month]); in PHP_FUNCTION()
301 int year, month, day; in PHP_FUNCTION() local
307 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
309 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
316 zend_long year, month, day; in PHP_FUNCTION() local
318 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
322 RETURN_LONG(GregorianToSdn(year, month, day)); in PHP_FUNCTION()
330 int year, month, day; in PHP_FUNCTION() local
336 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
338 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
345 zend_long year, month, day; in PHP_FUNCTION() local
347 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
351 RETURN_LONG(JulianToSdn(year, month, day)); in PHP_FUNCTION()
456 int year, month, day; in PHP_FUNCTION() local
463 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
465 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
472 … %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONTH_NAME(year)[month], heb_number_to_ch… in PHP_FUNCTION()
487 zend_long year, month, day; in PHP_FUNCTION() local
489 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
493 RETURN_LONG(JewishToSdn(year, month, day)); in PHP_FUNCTION()
501 int year, month, day; in PHP_FUNCTION() local
507 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
509 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
516 zend_long year, month, day; in PHP_FUNCTION() local
518 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
522 RETURN_LONG(FrenchToSdn(year, month, day)); in PHP_FUNCTION()
561 int month, day, year; in PHP_FUNCTION() local
569 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
570 monthname = MonthNameLong[month]; in PHP_FUNCTION()
573 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
574 monthname = MonthNameShort[month]; in PHP_FUNCTION()
577 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
578 monthname = MonthNameLong[month]; in PHP_FUNCTION()
581 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
582 monthname = (year > 0 ? JEWISH_MONTH_NAME(year)[month] : ""); in PHP_FUNCTION()
585 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
586 monthname = FrenchMonthName[month]; in PHP_FUNCTION()
590 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
591 monthname = MonthNameShort[month]; in PHP_FUNCTION()