diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-12-13 13:58:56 -0800 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-12-14 11:59:30 -0800 |
commit | c6bffbf6033c88d1b8403360ba129831b0155f33 (patch) | |
tree | ce1a9660ee08c8aa675592409859ff0f938078f2 /tools/aapt2/diff/Diff.cpp | |
parent | e70c9095b02ec46111c3e3677b43dab1a78e6188 (diff) |
Use ICU for formatting in DateUtils.formatDuration
Previously, we were using native strings. ICU has higher quality and
more comprehensive data.
Also adds parameters for specifying the format width (e.g. "2 hrs" vs
"2 hours").
Bug: 31526474
Test: adb shell am instrument -w -e class android.text.format.DateUtilsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I754f6c761c2ed3853046796c57ff2d86a6ccd43e
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions