Lines Matching refs:formatter
19 string16 TimeFormat(const icu::DateFormat* formatter, in TimeFormat() argument
21 DCHECK(formatter); in TimeFormat()
24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string); in TimeFormat()
36 scoped_ptr<icu::DateFormat> formatter( in TimeFormatTimeOfDay() local
38 return TimeFormat(formatter.get(), time); in TimeFormatTimeOfDay()
64 icu::SimpleDateFormat formatter(generated_pattern, status); in TimeFormatTimeOfDayWithHourClockType() local
66 return TimeFormat(&formatter, time); in TimeFormatTimeOfDayWithHourClockType()
70 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDate() local
72 return TimeFormat(formatter.get(), time); in TimeFormatShortDate()
76 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateNumeric() local
78 return TimeFormat(formatter.get(), time); in TimeFormatShortDateNumeric()
82 scoped_ptr<icu::DateFormat> formatter( in TimeFormatShortDateAndTime() local
84 return TimeFormat(formatter.get(), time); in TimeFormatShortDateAndTime()
88 scoped_ptr<icu::DateFormat> formatter( in TimeFormatFriendlyDateAndTime() local
90 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDateAndTime()
94 scoped_ptr<icu::DateFormat> formatter(icu::DateFormat::createDateInstance( in TimeFormatFriendlyDate() local
96 return TimeFormat(formatter.get(), time); in TimeFormatFriendlyDate()
103 scoped_ptr<icu::SimpleDateFormat> formatter( in GetHourClockType() local
108 formatter->toPattern(pattern_unicode); in GetHourClockType()