Lines Matching refs:day
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);
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()
293 add_assoc_long(return_value, "day", day); 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 …RETVAL_NEW_STR(zend_strpprintf(0, "%s %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONT… 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()
552 int day; in PHP_FUNCTION() local
559 day = DayOfWeek(julday); in PHP_FUNCTION()
560 daynamel = DayNameLong[day]; in PHP_FUNCTION()
561 daynames = DayNameShort[day]; in PHP_FUNCTION()
572 RETURN_LONG(day); in PHP_FUNCTION()
583 int month, day, year; in PHP_FUNCTION() local
591 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
595 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
599 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
603 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
607 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
612 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()