commit | 7a0837fb0ef173cdbe4b006010a7ac83c98e865f | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Mon Aug 19 15:19:26 2019 +0100 |
committer | Neil Fuller <nfuller@google.com> | Mon Aug 19 15:19:26 2019 +0100 |
tree | a5c404e8dc0174e3b03ed268117a6a1e5ba7e2ca | |
parent | 3628bb3a64d3e150c53fabe85e01ab03b2fd9681 [diff] |
Fix Y2038 issue in DateUtils.isToday() Before this change isToday() would stop working in Y2038 because android.text.format.Time doesn't work after Y2038. This commit fixes the code by using java.time classes that are Y2038 safe. Bug: 16550209 Test: atest android.text.format.cts.DateUtilsTest Change-Id: Ied339a694819c308add8645c7434b645dc1ccdde