Lines Matching refs:day

61 	ZEND_ARG_INFO(0, day)
76 ZEND_ARG_INFO(0, day)
86 ZEND_ARG_INFO(0, day)
98 ZEND_ARG_INFO(0, day)
108 ZEND_ARG_INFO(0, day)
182 typedef zend_long (*cal_to_jd_func_t) (int month, int day, int year);
183 typedef void (*cal_from_jd_func_t) (zend_long jd, int *year, int *month, int *day);
184 typedef char *(*cal_as_string_func_t) (int year, int month, int day);
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
412 calendar->from_jd(jd, &year, &month, &day); in PHP_FUNCTION()
415 zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
418 add_assoc_long(return_value, "day", day); in PHP_FUNCTION()
449 int year, month, day; in PHP_FUNCTION() local
455 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
457 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
465 zend_long year, month, day; in PHP_FUNCTION() local
467 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
471 RETURN_LONG(GregorianToSdn(year, month, day)); in PHP_FUNCTION()
480 int year, month, day; in PHP_FUNCTION() local
486 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
488 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
496 zend_long year, month, day; in PHP_FUNCTION() local
498 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
502 RETURN_LONG(JulianToSdn(year, month, day)); in PHP_FUNCTION()
608 int year, month, day; in PHP_FUNCTION() local
615 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
617 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
624 …RETVAL_NEW_STR(zend_strpprintf(0, "%s %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONT… in PHP_FUNCTION()
640 zend_long year, month, day; in PHP_FUNCTION() local
642 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
646 RETURN_LONG(JewishToSdn(year, month, day)); in PHP_FUNCTION()
655 int year, month, day; in PHP_FUNCTION() local
661 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
663 RETURN_NEW_STR(zend_strpprintf(0, "%i/%i/%i", month, day, year)); in PHP_FUNCTION()
671 zend_long year, month, day; in PHP_FUNCTION() local
673 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lll", &month, &day, &year) == FAILURE) { in PHP_FUNCTION()
677 RETURN_LONG(FrenchToSdn(year, month, day)); in PHP_FUNCTION()
686 int day; in PHP_FUNCTION() local
693 day = DayOfWeek(julday); in PHP_FUNCTION()
694 daynamel = DayNameLong[day]; in PHP_FUNCTION()
695 daynames = DayNameShort[day]; in PHP_FUNCTION()
706 RETURN_LONG(day); in PHP_FUNCTION()
718 int month, day, year; in PHP_FUNCTION() local
726 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
730 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
734 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
738 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
742 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
747 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()