diff options
author | Neil Fuller <nfuller@google.com> | 2019-08-20 18:23:16 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2019-08-21 15:34:55 +0100 |
commit | 5898cc1060941a8bec0021d8d4f7b35f71792cb5 (patch) | |
tree | 2f15561b3927e32659a0e5f1834839a8812a4de1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3628bb3a64d3e150c53fabe85e01ab03b2fd9681 (diff) |
Fix bug in Time.getJulianDay()
Time is generally deprecated because it has various problems
including Y2038 issues. The static Time.getJulianDay() method
doesn't have Y2038 issues but it did have an issue with
negative millis values which is fixed in this commit.
See the associated cts change for improved tests.
Documentation has also been improved in this commit.
Bug: 16550209
Test: atest android.text.format.cts.TimeTest
Change-Id: Ia4092efc92a24cd5741b2a8dd75a0680008cce27
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions