summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-08 15:06:14 -0800
committerElliott Hughes <enh@google.com>2013-03-08 15:06:14 -0800
commit8326b9a429b63b680aa9af116c670ce674744d80 (patch)
tree7caa33842712e0ba213f69d8fe545029a6bcc681 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3f7a49904cef7ea14808590b63b115a4381537a1 (diff)
Improve DateFormat.format.
Add support for the 'c' format character, required in many non-English locales. Reimplement 'c' and 'E', and 'L' and 'M', so they correctly interpret 5-count pattern characters. Replace the old incorrect class documentation with a pointer to the well-maintained libcore equivalent and the Unicode UTS to which these two implementations are supposed to conform. Deprecate the useless constants for pattern characters. No one sane is going to write MONTH + MONTH + MONTH + MONTH instead of "MMMM". Correct the documentation for getLongDateFormat and getMediumDateFormat. Also fix DateUtils.getStandaloneMonthString for LENGTH_SHORTEST. Tests are in https://android-review.googlesource.com/53291. Change-Id: I4dda8b18070f05ccdc11c1f0a9381a9d233db4e8
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions