Lines Matching refs:year
54 ZEND_ARG_INFO(0, year)
61 ZEND_ARG_INFO(0, year)
76 ZEND_ARG_INFO(0, year)
86 ZEND_ARG_INFO(0, year)
98 ZEND_ARG_INFO(0, year)
108 ZEND_ARG_INFO(0, year)
122 ZEND_ARG_INFO(0, year)
126 ZEND_ARG_INFO(0, year)
181 typedef long int (*cal_to_jd_func_t) (int month, int day, int year);
182 typedef void (*cal_from_jd_func_t) (long int jd, int *year, int *month, int *day);
183 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
207 #define JEWISH_MONTH_NAME(year) ((monthsPerYear[((year)-1) % 19] == 13)?JewishMonthNameLeap:Jewish… argument
208 #define JEWISH_HEB_MONTH_NAME(year) ((monthsPerYear[((year)-1) % 19] == 13)?JewishMonthHebNameLeap:… argument
329 long cal, month, year; in PHP_FUNCTION() local
333 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "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()
373 long cal, month, day, year; in PHP_FUNCTION() local
375 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &cal, &month, &day, &year) != SUCCESS… in PHP_FUNCTION()
384 RETURN_LONG(cal_conversion_table[cal].to_jd(year, month, day)); in PHP_FUNCTION()
393 int month, day, year, dow; in PHP_FUNCTION() local
409 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
411 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
416 add_assoc_long(return_value, "year", year); in PHP_FUNCTION()
426 add_assoc_string(return_value, "abbrevmonth", JEWISH_MONTH_NAME(year)[month], 1); in PHP_FUNCTION()
427 add_assoc_string(return_value, "monthname", JEWISH_MONTH_NAME(year)[month], 1); in PHP_FUNCTION()
440 int year, month, day; in PHP_FUNCTION() local
447 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
448 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
458 long year, month, day; in PHP_FUNCTION() local
460 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
464 RETURN_LONG(GregorianToSdn(year, month, day)); in PHP_FUNCTION()
473 int year, month, day; in PHP_FUNCTION() local
480 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
481 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
491 long year, month, day; in PHP_FUNCTION() local
493 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
497 RETURN_LONG(JulianToSdn(year, month, day)); in PHP_FUNCTION()
602 int year, month, day; in PHP_FUNCTION() local
610 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
612 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
615 if (year <= 0 || year > 9999) { in PHP_FUNCTION()
620 …b_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONTH_NAME(year)[month], heb_number_to_chars(year, f… in PHP_FUNCTION()
639 long year, month, day; in PHP_FUNCTION() local
641 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
645 RETURN_LONG(JewishToSdn(year, month, day)); in PHP_FUNCTION()
654 int year, month, day; in PHP_FUNCTION() local
661 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
662 snprintf(date, sizeof(date), "%i/%i/%i", month, day, year); in PHP_FUNCTION()
672 long year, month, day; in PHP_FUNCTION() local
674 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
678 RETURN_LONG(FrenchToSdn(year, month, day)); in PHP_FUNCTION()
719 int month, day, year; in PHP_FUNCTION() local
727 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
731 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
735 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
739 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
740 monthname = JEWISH_MONTH_NAME(year)[month]; in PHP_FUNCTION()
743 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
748 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()