| Index: base/i18n/time_formatting.cc
|
| diff --git a/base/i18n/time_formatting.cc b/base/i18n/time_formatting.cc
|
| index 3f560ee55620ef1833fc07bc0092b614a7132a1d..ea62a34f51618cd65db89a97db7ac1057dfa2b7d 100644
|
| --- a/base/i18n/time_formatting.cc
|
| +++ b/base/i18n/time_formatting.cc
|
| @@ -171,6 +171,11 @@ string16 TimeFormatFriendlyDate(const Time& time) {
|
| return TimeFormat(formatter.get(), time);
|
| }
|
|
|
| +string16 TimeFormatWithPattern(const Time& time, const char* pattern) {
|
| + icu::SimpleDateFormat formatter = CreateSimpleDateFormatter(pattern);
|
| + return TimeFormat(&formatter, time);
|
| +}
|
| +
|
| string16 TimeDurationFormat(const TimeDelta time,
|
| const DurationFormatWidth width) {
|
| UErrorCode status = U_ZERO_ERROR;
|
|
|