summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-06-17 11:40:35 +0100
committerNeil Fuller <nfuller@google.com>2019-07-19 16:30:30 +0100
commit9aa7b74a7a64c37c1cc7bc42dc643c8916ac94fb (patch)
tree7e441007317ed5293bc3faf578d4f7af0c39012b /rs/java/android/renderscript/ProgramRaster.java
parent219098960d9d19bddfc864d22699240c1239ab39 (diff)
Convert some users of Time.format() to an alt.
Convert some frameworks/base/ users of android.text.format.Time.format() to use calculations based on java.time instead. This avoids future Y2038 issues associated with Time. A TimeMigrationUtils method is added that has similar localization behavior to Time's format() method. This commit only contains a replacement for basic formatting usecases. Later commits can handle more complex usecases. The only case that modifies the format is the changes to CalendarContract.java: the pattern used there was unusual and only used in logging/debug logic which was switched off by default. Bug: 16550209 Test: build / boot / treehugger Test: atest FrameworksCoreTests:android.text.format.TimeMigrationUtilsTest Change-Id: Ib142979858012bb766b4c107d41a21b0324de506
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions