commit | 4928ee3babceb4101ab0531a011b947cd57043cc | [log] [tgz] |
---|---|---|
author | Liam Miller-Cushon <cushon@google.com> | Fri Apr 29 16:14:15 2022 |
committer | Javac Team <javac-team+copybara@google.com> | Mon May 02 21:23:02 2022 |
tree | 54f0557cd463f4c97979fbaeeacc8263d59ba4c3 | |
parent | dd578b81d048aff7bab4d4772eb37ef11d5cd3b2 [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: 445435011