Lines Matching refs:dfo
34 static void internal_parse_to_timestamp(IntlDateFormatter_object *dfo, char* text_to_parse, size_t … in internal_parse_to_timestamp() argument
42 …t_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_timestamp()
43 INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" ); in internal_parse_to_timestamp()
45 …mestamp = udat_parse( DATE_FORMAT_OBJECT(dfo), text_utf16, text_utf16_len, parse_pos, &INTL_DATA_E… in internal_parse_to_timestamp()
50 INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" ); in internal_parse_to_timestamp()
62 static void add_to_localtime_arr( IntlDateFormatter_object *dfo, zval* return_value, const UCalenda… in add_to_localtime_arr() argument
64 …d_long calendar_field_val = ucal_get( parsed_calendar, calendar_field, &INTL_DATA_ERROR_CODE(dfo)); in add_to_localtime_arr()
65 …INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : could not get a field from calen… in add_to_localtime_arr()
79 static void internal_parse_to_localtime(IntlDateFormatter_object *dfo, char* text_to_parse, size_t … in internal_parse_to_localtime() argument
87 …t_utf8_to_utf16(&text_utf16, &text_utf16_len, text_to_parse, text_len, &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_localtime()
88 INTL_METHOD_CHECK_STATUS(dfo, "Error converting timezone to UTF-16" ); in internal_parse_to_localtime()
90 parsed_calendar = (UCalendar *)udat_getCalendar(DATE_FORMAT_OBJECT(dfo)); in internal_parse_to_localtime()
91 …arseCalendar( DATE_FORMAT_OBJECT(dfo), parsed_calendar, text_utf16, text_utf16_len, parse_pos, &IN… in internal_parse_to_localtime()
97 INTL_METHOD_CHECK_STATUS( dfo, "Date parsing failed" ); in internal_parse_to_localtime()
102 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_SECOND, CALENDAR_SEC); in internal_parse_to_localtime()
103 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MINUTE, CALENDAR_MIN); in internal_parse_to_localtime()
104 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_HOUR_OF_DAY, CALENDAR_HOUR); in internal_parse_to_localtime()
105 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_YEAR, CALENDAR_YEAR); in internal_parse_to_localtime()
106 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_MONTH, CALENDAR_MDAY); in internal_parse_to_localtime()
107 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_WEEK, CALENDAR_WDAY); in internal_parse_to_localtime()
108 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_DAY_OF_YEAR, CALENDAR_YDAY); in internal_parse_to_localtime()
109 add_to_localtime_arr( dfo, return_value, parsed_calendar, UCAL_MONTH, CALENDAR_MON); in internal_parse_to_localtime()
112 isInDST = ucal_inDaylightTime(parsed_calendar , &INTL_DATA_ERROR_CODE(dfo)); in internal_parse_to_localtime()
113 …INTL_METHOD_CHECK_STATUS( dfo, "Date parsing - localtime failed : while checking if currently in D… in internal_parse_to_localtime()
152 …internal_parse_to_timestamp( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_val… in PHP_FUNCTION()
193 …internal_parse_to_localtime( dfo, text_to_parse, text_len, z_parse_pos?&parse_pos:NULL, return_val… in PHP_FUNCTION()