Lines Matching +defs:parse +defs:result
104 // Initialize the parent fCalendar, so that parse() works correctly.
199 void RelativeDateFormat::parse( const UnicodeString& text,
207 fDateTimeFormatter->parse(text,cal,pos);
232 // just parse as normal date
234 fDateTimeFormatter->parse(text,cal,pos);
238 // formatted per fDatePattern, then parse text normally using the combined pattern.
274 fDateTimeFormatter->parse(modifiedText,cal,pos);
297 RelativeDateFormat::parse( const UnicodeString& text,
299 // redefined here because the other parse() function hides this function's
301 return DateFormat::parse(text, pos);
305 RelativeDateFormat::parse(const UnicodeString& text, UErrorCode& status) const
307 // redefined here because the other parse() function hides this function's
309 return DateFormat::parse(text, status);
335 RelativeDateFormat::toPattern(UnicodeString& result, UErrorCode& status) const
338 result.remove();
340 result.setTo(fTimePattern);
342 result.setTo(fDatePattern);
346 fCombinedFormat->format(timeDatePatterns, 2, result, pos, status);
349 return result;
353 RelativeDateFormat::toPatternDate(UnicodeString& result, UErrorCode& status) const
356 result.remove();
357 result.setTo(fDatePattern);
359 return result;
363 RelativeDateFormat::toPatternTime(UnicodeString& result, UErrorCode& status) const
366 result.remove();
367 result.setTo(fTimePattern);
369 return result;