summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/14
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2016-12-13 13:58:56 -0800
committerRoozbeh Pournader <roozbeh@google.com>2016-12-14 11:59:30 -0800
commitc6bffbf6033c88d1b8403360ba129831b0155f33 (patch)
treece1a9660ee08c8aa675592409859ff0f938078f2 /docs/html/sdk/api_diff/14
parente70c9095b02ec46111c3e3677b43dab1a78e6188 (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 'docs/html/sdk/api_diff/14')
0 files changed, 0 insertions, 0 deletions