public class ZipConstants extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DOS_FAKE_TIME |
Modifier and Type | Method and Description |
---|---|
static long |
getFakeTime()
ZipEntry.setTime(long) is timezone-sensitive. |
public static final int DOS_FAKE_TIME
public static long getFakeTime()
ZipEntry.setTime(long)
is timezone-sensitive. Use this value instead of a
hardcoded constant to produce timzeone-agnostic .zip files.