summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-07 16:46:55 -0800
committerElliott Hughes <enh@google.com>2013-03-07 16:46:55 -0800
commit5acc6e521494f1ea21c793d0b56667dae107a1be (patch)
tree9b1688b262aeb54f93ef897abbb982043f776bd5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd0d1be2d27af35fe7553835ee8c411fd13d1c8d7 (diff)
Use getRelativeDayString in getRelativeTimeSpanString.
The bug we're fixing here is that languages that don't distinguish the "one" case grammatically (such as Japanese) would say the equivalent of "In 1 day" rather than "Tomorrow" because of the misuse of getQuantityString. This has the side-effect of switching us over to the CLDR strings for relative day names, which have consistent capitalization; the Android donottranslate-cldr.xml strings varied even within a language, so although this is a change, it seems like a step in the right direction. In a future change, we should actually push all relative day formatting down into icu4c. Bug: 7098707 Change-Id: Ia2f9af3d18c441d6093dd5da7956a3d0130e5b06
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions