summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-02-06 15:44:00 -0800
committerTao Bao <tbao@google.com>2015-02-11 17:50:21 -0800
commit67bfa0b083ef0eef49b29b461afa65e5384ec429 (patch)
treed86587257845856a5ac2a1a6b4b06b775ad0693c /rs/java/android/renderscript/RenderScript.java
parent1a24bb597aeb1b019d55988b574e5db1b0e4232c (diff)
Use ICU for relative time formatting
Rewrite the DateUtils' relative time formatting APIs (getRelativeTimeSpanString, getRelativeDateTimeString) to use ICU ones. Two APIs that take withPreposition parameter are not changed. Because (a) ICU doesn't provide functionality to format preposition; (b) They are not really computing relative time but instead calling formatDateRange() to get the absolute time/date string. Bug: 19146457 Bug: 5252772 Change-Id: Iea8d699d63cc4438513910da66d038912e44fb8d
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions