Lines Matching refs:day

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);
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()
271 add_assoc_long(return_value, "day", day); 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 …RETVAL_NEW_STR(zend_strpprintf(0, "%s %s %s", heb_number_to_chars(day, fl, &dayp), JEWISH_HEB_MONT… 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()
530 int day; in PHP_FUNCTION() local
537 day = DayOfWeek(julday); in PHP_FUNCTION()
538 daynamel = DayNameLong[day]; in PHP_FUNCTION()
539 daynames = DayNameShort[day]; in PHP_FUNCTION()
550 RETURN_LONG(day); in PHP_FUNCTION()
561 int month, day, year; in PHP_FUNCTION() local
569 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()
573 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
577 SdnToJulian(julday, &year, &month, &day); in PHP_FUNCTION()
581 SdnToJewish(julday, &year, &month, &day); in PHP_FUNCTION()
585 SdnToFrench(julday, &year, &month, &day); in PHP_FUNCTION()
590 SdnToGregorian(julday, &year, &month, &day); in PHP_FUNCTION()