Lines Matching refs:year

56 	ZEND_ARG_INFO(0, year)
63 ZEND_ARG_INFO(0, year)
78 ZEND_ARG_INFO(0, year)
88 ZEND_ARG_INFO(0, year)
100 ZEND_ARG_INFO(0, year)
110 ZEND_ARG_INFO(0, year)
124 ZEND_ARG_INFO(0, year)
128 ZEND_ARG_INFO(0, year)
183 typedef zend_long (*cal_to_jd_func_t) (int month, int day, int year);
184 typedef void (*cal_from_jd_func_t) (zend_long jd, int *year, int *month, int *day);
185 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
209 #define JEWISH_MONTH_NAME(year) ((monthsPerYear[((year)-1) % 19] == 13)?JewishMonthNameLeap:Jewish… argument
210 #define JEWISH_HEB_MONTH_NAME(year) ((monthsPerYear[((year)-1) % 19] == 13)?JewishMonthHebNameLeap:… argument
329 zend_long cal, month, year; in PHP_FUNCTION() local
333 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &cal, &month, &year) == FAILURE) { 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()
357 if (year == -1) { in PHP_FUNCTION()
361 sdn_next = calendar->to_jd(year + 1, 1, 1); in PHP_FUNCTION()
377 zend_long cal, month, day, year; in PHP_FUNCTION() local
379 if (zend_parse_parameters(ZEND_NUM_ARGS(), "llll", &cal, &month, &day, &year) != SUCCESS) { in PHP_FUNCTION()
388 RETURN_LONG(cal_conversion_table[cal].to_jd(year, month, day)); in PHP_FUNCTION()
397 int month, day, year, dow; in PHP_FUNCTION() local
413 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
415 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
420 add_assoc_long(return_value, "year", year); in PHP_FUNCTION()
423 if (cal != CAL_JEWISH || year > 0) { in PHP_FUNCTION()
436 add_assoc_string(return_value, "abbrevmonth", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
437 add_assoc_string(return_value, "monthname", (year > 0 ? JEWISH_MONTH_NAME(year)[month] : "")); in PHP_FUNCTION()
450 int year, month, day; in PHP_FUNCTION() local
457 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
458 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
468 zend_long year, month, day; in PHP_FUNCTION() local
470 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
474 RETURN_LONG(GregorianToSdn(year, month, day)); in PHP_FUNCTION()
483 int year, month, day; in PHP_FUNCTION() local
490 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
491 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
501 zend_long year, month, day; in PHP_FUNCTION() local
503 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
507 RETURN_LONG(JulianToSdn(year, month, day)); in PHP_FUNCTION()
612 int year, month, day; in PHP_FUNCTION() local
620 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
622 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
625 if (year <= 0 || year > 9999) { in PHP_FUNCTION()
630 …b_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONTH_NAME(year)[month], heb_number_to_chars(year, f… in PHP_FUNCTION()
649 zend_long year, month, day; in PHP_FUNCTION() local
651 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
655 RETURN_LONG(JewishToSdn(year, month, day)); in PHP_FUNCTION()
664 int year, month, day; in PHP_FUNCTION() local
671 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
672 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
682 zend_long year, month, day; in PHP_FUNCTION() local
684 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
688 RETURN_LONG(FrenchToSdn(year, month, day)); in PHP_FUNCTION()
729 int month, day, year; in PHP_FUNCTION() local
737 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
741 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
745 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
749 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
750 monthname = (year > 0 ? JEWISH_MONTH_NAME(year)[month] : ""); in PHP_FUNCTION()
753 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
758 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()