diff options
author | Mitchell Wills <mwills@google.com> | 2015-09-22 15:30:08 -0700 |
---|---|---|
committer | Mitchell Wills <mwills@google.com> | 2015-09-22 15:42:16 -0700 |
commit | f9a80cbbfe5585772ea16fddfeb728c74bc04b2d (patch) | |
tree | 36838bf7852765a35c01bfaa5a7e7305e3326881 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d548da799117a4b34ccfa57a3f9a535dbdba1da4 (diff) |
Fix TimeUtils.formatDuration for exactly one of a unit
Previously printing a duration where a unit (except ms) was one and the
next smallest unit was zero would result in the duration being being
expressed in the next smallest unit. For example 1m0s0ms would be
formatted as 60s0ms.
Update testFormatHugeDuration to supporting times > 999 days
The implementation was fixed in 3d1933c45fe9ba2389ebd166d96abeceab1971d1
Change-Id: I9d609f7a0f82755ea653a205293a6e3785a10d1e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions