commit | d42cb3322d5478148f395d269e2bf52cbfe01549 | [log] [tgz] |
---|---|---|
author | Liam Miller-Cushon <cushon@google.com> | Tue Aug 30 13:44:15 2022 -0700 |
committer | Javac Team <javac-team+copybara@google.com> | Tue Aug 30 13:45:24 2022 -0700 |
tree | 76d039f8d7f1395c074920a5ec12f86e27d3309d | |
parent | ccd6bdc18d304be179089cbec1af0b128dcea1a5 [diff] |
Use `JarEntry#setTimeLocal` This method was added in JDK 9, and allows setting jar entry times without going through a `long` of milliseconds. Both `setTime` and `setTimeLocal` implicitly use the default timezone. PiperOrigin-RevId: 471079483